Compare DEBUG variable as string instead of number

This commit is contained in:
Rezart Qelibari
2022-02-16 21:26:49 +01:00
parent 0322e24aa0
commit b68ed20d47

View File

@@ -22,7 +22,7 @@ function cloneZSHLibRepo() {
} }
function isDebug() { function isDebug() {
test "${DEBUG}" -eq 1 -o "${DEBUG}" = true test "${DEBUG}" = true -o "${DEBUG}" = 1
} }
function main() { function main() {