mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
setup.sh: add quotes where semantically valid
This commit is contained in:
parent
5f01543070
commit
faca9440fb
@ -1218,7 +1218,7 @@ installCheckPhase() {
|
||||
echo "no Makefile or custom installCheckPhase, doing nothing"
|
||||
#TODO(@oxij): should flagsArray influence make -n?
|
||||
elif [[ -z "${installCheckTarget:-}" ]] \
|
||||
&& ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then
|
||||
&& ! make -n ${makefile:+-f $makefile} "${installCheckTarget:-installcheck}" >/dev/null 2>&1; then
|
||||
echo "no installcheck target in ${makefile:-Makefile}, doing nothing"
|
||||
else
|
||||
IFS=" " read -r -a makeFlagsTemp <<< "$makeFlags"
|
||||
@ -1253,7 +1253,7 @@ distPhase() {
|
||||
local flagsArray=(
|
||||
"${distFlagsTemp[@]}"
|
||||
${distFlagsArray+"${distFlagsArray[@]}"}
|
||||
${distTarget:-dist}
|
||||
"${distTarget:-dist}"
|
||||
)
|
||||
|
||||
echo 'dist flags: %q' "${flagsArray[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user