GNU: Don't build it everytime

This commit is contained in:
Sylvestre Ledru
2021-09-07 23:22:58 +02:00
parent 28989171ab
commit 94c830661b
+5 -3
View File
@@ -13,9 +13,11 @@ cp target/release/find ../findutils.gnu/find.rust
# Clone and build upstream repo
cd ../findutils.gnu
./bootstrap
./configure --quiet --disable-gcc-warnings
make -j "$(nproc)"
if test ! -f configure; then
./bootstrap
./configure --quiet --disable-gcc-warnings
make -j "$(nproc)"
fi
# overwrite the GNU version with the rust impl
cp find.rust find/find