diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-10-31 17:59:18 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-01 14:44:44 -0400 |
commit | b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d (patch) | |
tree | a304936e553f074a31d1ac18f190a8c9beace795 /pkgs/development/tools/build-managers/scons | |
parent | 7eecf4f8fb288dcc4a32595036421bfcc38699e6 (diff) |
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.
Diffstat (limited to 'pkgs/development/tools/build-managers/scons')
-rw-r--r-- | pkgs/development/tools/build-managers/scons/setup-hook.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/build-managers/scons/setup-hook.sh b/pkgs/development/tools/build-managers/scons/setup-hook.sh index 428852ac574aa..0b908f68286b5 100644 --- a/pkgs/development/tools/build-managers/scons/setup-hook.sh +++ b/pkgs/development/tools/build-managers/scons/setup-hook.sh @@ -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 |