Adding autoconfig support to lh_build as well.

This commit is contained in:
Daniel Baumann 2009-01-31 17:05:41 +01:00
parent 695cdf1530
commit 285b6ed834
1 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,17 @@ set -e
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
# Read meta config
if [ "${1}" != "noautoconfig" ] && [ -x scripts/build ]
then
./scripts/build ${@}
fi
if [ "${1}" = "noautoconfig" ]
then
shift
fi
# Setting static variables
DESCRIPTION="$(Echo 'build a Debian Live system')"
HELP=""