Fix minor build.sh issue

This commit is contained in:
Emil 2023-08-03 02:17:28 -06:00
parent 201e1167f9
commit 3b20d84f9e

View File

@ -15,7 +15,7 @@ LDFLAGS='-lircclient -lsqlite3'
mkdir -p $PREFIX && echo "Made directory: $PREFIX"
# Bourne shell is evil
if [ ${DEBUG} -eq 1 ]
if [ ${DEBUG-0} -eq 1 ]
then
CFLAGS=`echo "${CFLAGS} -Og -g3"`
else