Moar fixes to sourcerers.

DEBUG variable force in config loader. If variable isn't defined - force it to be 0.
This commit is contained in:
2015-03-21 20:30:55 +05:00
parent 1babd0fb06
commit 9eb7e2a012
5 changed files with 21 additions and 15 deletions

View File

@@ -2,4 +2,12 @@
# this configuration.
OS=`uname`
OS_RELEASE=`uname -r`
OS_RELEASE=`uname -r`
# Variable forcers.
# If DEBUG isn't defined - force it to be 0.
if [ -z ${DEBUG} ]; then
DEBUG=0
return 1
fi