From 94c830661bfee32b4e228e2199195ea617f22156 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 7 Sep 2021 23:22:58 +0200 Subject: [PATCH] GNU: Don't build it everytime --- util/build-gnu.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index dbaa774..e6d66ee 100644 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -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