hardening: Tiny reindent

This commit is contained in:
John Ericson 2018-04-10 16:08:53 -04:00 committed by Charles Strahan
parent 2364c22ec9
commit 21818ae592
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ if (( "${NIX_DEBUG:-0}" >= 1 )); then
fi fi
fi fi
for flag in "${!hardeningEnableMap[@]}"; do for flag in "${!hardeningEnableMap[@]}"; do
case $flag in case $flag in
pie) pie)
if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
@ -55,4 +55,4 @@ fi
# tool supports each flag. # tool supports each flag.
;; ;;
esac esac
done done

View File

@ -34,7 +34,7 @@ if (( "${NIX_DEBUG:-0}" >= 1 )); then
fi fi
fi fi
for flag in "${!hardeningEnableMap[@]}"; do for flag in "${!hardeningEnableMap[@]}"; do
case $flag in case $flag in
fortify) fortify)
if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
@ -69,4 +69,4 @@ fi
# tool supports each flag. # tool supports each flag.
;; ;;
esac esac
done done