summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-10-27 21:58:16 +0200
committerDaniel Baumann <daniel@debian.org>2011-10-27 21:58:16 +0200
commit2c1c76edcf7ad40a0e7e97b196bbf45b0da74575 (patch)
treeae2cf795ab36db30445b3c146861c6ff7be37763 /scripts
parent98a4daa708815a6301472aa656dad357983b18dd (diff)
downloadvyos-live-build-2c1c76edcf7ad40a0e7e97b196bbf45b0da74575.tar.gz
vyos-live-build-2c1c76edcf7ad40a0e7e97b196bbf45b0da74575.zip
Bail out early in lb_source if source is disabled (Closes: #646807).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_source5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/lb_source b/scripts/build/lb_source
index 62b016acf..4331a428e 100755
--- a/scripts/build/lb_source
+++ b/scripts/build/lb_source
@@ -31,6 +31,11 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
+if [ "${LB_SOURCE}" != "true" ]
+then
+ exit 0
+fi
+
#Require_stagefile
# Setup cleanup function