Unify _DEBUG variable values to be true or false for l-b-cgi.

This commit is contained in:
Richard Nelson 2012-12-19 22:15:24 -06:00 committed by Daniel Baumann
parent 2d487b5519
commit 9310e69667
3 changed files with 7 additions and 7 deletions

View File

@ -22,8 +22,8 @@ fi
_HOSTNAME="$(hostname -f)"
# Turn on debug if enabled
if [ "${_DEBUG}" = "enabled" ]
# Turn on debug if true
if [ "${_DEBUG}" = "true" ]
then
set -x
fi

View File

@ -20,15 +20,15 @@ else
fi
# Exit if disabled
if [ "${_WEBBUILD}" != "enabled" ]
if [ "${_WEBBUILD}" != "true" ]
then
exit 0
fi
_HOSTNAME="$(hostname -f)"
# Turn on debug if enabled
if [ "${_DEBUG}" = "enabled" ]
# Turn on debug if true
if [ "${_DEBUG}" = "true" ]
then
set -x
fi

View File

@ -1,10 +1,10 @@
# Defaults for /etc/cron.daily/live-build-cgi
_WEBBUILD="disabled"
_WEBBUILD="false"
_MODE="debian"
_DEBUG="disabled"
_DEBUG="false"
_DESTDIR="/srv/debian-live/build/www"
_TEMPLATES="/usr/share/live/build/templates/cgi/${_MODE}"