From b2f2d34b27d94dee078ee70dd73ca329ecae3d51 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 21 May 2024 16:12:57 -0400 Subject: [PATCH] Clean first --- openwrtbuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 8bcf017..41a1722 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -616,7 +616,7 @@ fromSource() { ./scripts/feeds install -a -f # Grab the release seed config - if ! curl -so "$seed_file" "$SEED_URL"; then + if ! execute curl -so "$seed_file" "$SEED_URL"; then echo "Could not obtain $seed_file from $SEED_URL" return 1 fi @@ -673,7 +673,7 @@ fromSource() { # Make prep (( DEBUG )) && make_opts+=("V=s") - execute make "${make_opts[@]}" "-j1" defconfig download clean + execute make "${make_opts[@]}" "-j1" targetclean defconfig download # Make image if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" "-j$(($(nproc)+1))" world; then