treewide: *Phase(s)? variables are optional
If these aren't defined, the stdenv defaults are used in the `*Phase` case, or no extra phases are done, in the `*Phases` case.
This commit is contained in:
@@ -71,14 +71,14 @@ sconsCheckPhase() {
|
||||
runHook postCheck
|
||||
}
|
||||
|
||||
if [ -z "$buildPhase" ]; then
|
||||
if [ -z "${buildPhase-}" ]; then
|
||||
buildPhase=sconsBuildPhase
|
||||
fi
|
||||
|
||||
if [ -z "${dontUseSconsInstall-}" -a -z "$installPhase" ]; then
|
||||
if [ -z "${dontUseSconsInstall-}" -a -z "${installPhase-}" ]; then
|
||||
installPhase=sconsInstallPhase
|
||||
fi
|
||||
|
||||
if [ -z "$checkPhase" ]; then
|
||||
if [ -z "${checkPhase-}" ]; then
|
||||
checkPhase=sconsCheckPhase
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user