summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-05-07 04:59:43 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-05-07 05:22:30 +0200
commit604d5f14167efb96361412390cffd6963181cbb7 (patch)
tree2f29c1055be7a92b6296dddccfdf360828000dfa
parente84476a7e5bc2a96edd5c97fcddb1ffb1938b8fc (diff)
downloadvyos-live-build-604d5f14167efb96361412390cffd6963181cbb7.tar.gz
vyos-live-build-604d5f14167efb96361412390cffd6963181cbb7.zip
Only removing stage files in lb clean --stage and keep .build around in order for init to detect initialized config directories properly.
-rwxr-xr-xscripts/build/clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/clean b/scripts/build/clean
index 3d8915a45..c8545a4f1 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -129,7 +129,7 @@ do
;;
--stage)
- rm -rf .build
+ rm -rf .build/*
;;
--source)