treewide: Use (( "${NIX_DEBUG:-0}" >= 1) )) consistently

This commit is contained in:
John Ericson
2017-09-26 11:24:19 -04:00
parent bc0aec5d97
commit 127a5f3357
7 changed files with 19 additions and 19 deletions
@@ -109,7 +109,7 @@ fi
#fi
# Optionally print debug info.
if [ -n "${NIX_DEBUG:-}" ]; then
if (( "${NIX_DEBUG:-0}" >= 1 )); then
echo "extra flags before to @prog@:" >&2
printf " %q\n" "${extraBefore[@]}" >&2
echo "original flags to @prog@:" >&2