treewide: Use (( "${NIX_DEBUG:-0}" >= 1) )) consistently
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user