cc-wrapper: Add set -x tracing for NIX_DEBUG >= 7

This commit is contained in:
John Ericson
2017-09-26 11:24:19 -04:00
parent f6fcb9bc0d
commit 0d3d2a01d2
5 changed files with 20 additions and 0 deletions
@@ -2,6 +2,10 @@
set -eu -o pipefail
shopt -s nullglob
if (( "${NIX_DEBUG:-0}" >= 7 )); then
set -x
fi
path_backup="$PATH"
# That @-vars are substituted separately from bash evaluation makes