summaryrefslogtreecommitdiff
path: root/scripts/build/clean
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-04-28 16:42:29 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-05-02 14:59:19 +0100
commitf20b5b4d0ded4a870e5795d4fe277af61f20c0e3 (patch)
tree1d9335f5fcbc33c7f9e89624bd33b299f49936e0 /scripts/build/clean
parent2d4b2c9e76dbb3a6625c2e550a0e9b5fd241785f (diff)
downloadvyos-live-build-f20b5b4d0ded4a870e5795d4fe277af61f20c0e3.tar.gz
vyos-live-build-f20b5b4d0ded4a870e5795d4fe277af61f20c0e3.zip
clean: fix missing 'noauto' param for substage execution
these should be bypassing the possibility of running the auto script surely, just like how this is done for `--all`, otherwise you pass through the auto file twice. Gbp-Dch: Ignore
Diffstat (limited to 'scripts/build/clean')
-rwxr-xr-xscripts/build/clean6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/clean b/scripts/build/clean
index 786046ac0..34ccf8023 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -106,13 +106,13 @@ for ARGUMENT in "${@}"; do
;;
--remove)
- "${0}" --all
+ "${0}" noauto --all
rm -rf cache/packages.*
;;
--purge)
- "${0}" --all
- "${0}" --cache
+ "${0}" noauto --all
+ "${0}" noauto --cache
if [ -e auto/config ]
then