Compare DEBUG variable as string instead of number
This commit is contained in:
@@ -22,7 +22,7 @@ function cloneZSHLibRepo() {
|
||||
}
|
||||
|
||||
function isDebug() {
|
||||
test "${DEBUG}" -eq 1 -o "${DEBUG}" = true
|
||||
test "${DEBUG}" = true -o "${DEBUG}" = 1
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
||||
Reference in New Issue
Block a user