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
+1 -1
View File
@@ -161,7 +161,7 @@ if [ "$*" = -v ]; then
fi
# Optionally print debug info.
if [ -n "${NIX_DEBUG:-}" ]; then
if (( "${NIX_DEBUG:-0}" >= 1 )); then
# Old bash workaround, see ld-wrapper for explanation.
echo "extra flags before to @prog@:" >&2
printf " %q\n" ${extraBefore+"${extraBefore[@]}"} >&2