Unify _DEBUG variable values to be true or false for l-b-cgi.
This commit is contained in:
parent
2d487b5519
commit
9310e69667
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue