Bail out early in lb_source if source is disabled (Closes: #646807).

This commit is contained in:
Daniel Baumann 2011-10-27 21:58:16 +02:00
parent 98a4daa708
commit 2c1c76edcf
1 changed files with 5 additions and 0 deletions

View File

@ -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