From 2c1c76edcf7ad40a0e7e97b196bbf45b0da74575 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 27 Oct 2011 21:58:16 +0200 Subject: Bail out early in lb_source if source is disabled (Closes: #646807). --- scripts/build/lb_source | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/build/lb_source') 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 -- cgit v1.2.3