summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-13 21:49:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:22 +0100
commit8c155c17c800e24c771a79f5c8ee433ac4fd9f3e (patch)
treef3772fff4ac37ac11c25576995c64ef464f010f3 /scripts
parent8488808879696e9bf97b7f5d4304dccaa5d0ae54 (diff)
downloadvyos-live-build-8c155c17c800e24c771a79f5c8ee433ac4fd9f3e.tar.gz
vyos-live-build-8c155c17c800e24c771a79f5c8ee433ac4fd9f3e.zip
Updating auto/scripts handling.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_config6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index afb6935d8..487d81cc3 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -1288,6 +1288,7 @@ LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}"
EOF
mkdir -p auto/functions
+mkdir -p auto/scripts
if [ "${CONFIG}" = "clone" ] # FIXME
then
@@ -1354,6 +1355,11 @@ then
rmdir --ignore-fail-on-non-empty auto/functions
fi
+ if [ -d auto/scripts]
+ then
+ rmdir --ignore-fail-on-non-empty auto/scripts
+ fi
+
if [ -d auto ]
then
rmdir --ignore-fail-on-non-empty auto