mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
GNU: Don't build it everytime
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user