mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
stdenv: generic/setup.sh: cleanup installPhase
This commit is contained in:
parent
ad98c36f1b
commit
e9e06888ed
@ -1018,14 +1018,12 @@ installPhase() {
|
|||||||
mkdir -p "$prefix"
|
mkdir -p "$prefix"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installTargets="${installTargets:-install}"
|
|
||||||
|
|
||||||
# Old bash empty array hack
|
# Old bash empty array hack
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
local flagsArray=(
|
local flagsArray=(
|
||||||
$installTargets
|
|
||||||
$makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
|
$makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
|
||||||
$installFlags ${installFlagsArray+"${installFlagsArray[@]}"}
|
$installFlags ${installFlagsArray+"${installFlagsArray[@]}"}
|
||||||
|
${installTargets:-install}
|
||||||
)
|
)
|
||||||
|
|
||||||
echoCmd 'install flags' "${flagsArray[@]}"
|
echoCmd 'install flags' "${flagsArray[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user