summaryrefslogtreecommitdiff
path: root/frontends/cgi/live-build-cgi.cron
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2012-12-19 22:15:24 -0600
committerDaniel Baumann <daniel@debian.org>2012-12-20 12:27:49 +0100
commit2094b4570de283e5ef4dd9d03a284fb98a812097 (patch)
tree1552fa528f22d9b320a3cd952f781d03b73a69bc /frontends/cgi/live-build-cgi.cron
parent4e283bbd7a00eabc29cf1e3ae0c65e940d617f4b (diff)
downloadvyos-live-build-2094b4570de283e5ef4dd9d03a284fb98a812097.tar.gz
vyos-live-build-2094b4570de283e5ef4dd9d03a284fb98a812097.zip
Unify _DEBUG variable values to be true or false for l-b-cgi.
Diffstat (limited to 'frontends/cgi/live-build-cgi.cron')
-rwxr-xr-xfrontends/cgi/live-build-cgi.cron6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron
index d71661f62..13d7e06b5 100755
--- a/frontends/cgi/live-build-cgi.cron
+++ b/frontends/cgi/live-build-cgi.cron
@@ -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