diff --git a/srcpkgs/tidy5/template b/srcpkgs/tidy5/template index 838e1bd4183..443fbf21752 100644 --- a/srcpkgs/tidy5/template +++ b/srcpkgs/tidy5/template @@ -20,7 +20,7 @@ pre_configure() { # the $(man) target requires tidy5 to run on the host ln -s ${cmake_builddir}/tidy if [ -n "$CROSS_BUILD" ]; then - rm ${pkgname} + rm -f tidy cd ${cmake_builddir} env - PATH=/usr/bin cmake -DBUILD_SHARED_LIB:BOOL=FALSE ${wrksrc}