cmake: Fix setup hook on bash < 4.0
This matters in nix-shell and stdenvNative on Darwin. Fixes #3204.
This commit is contained in:
parent
7926b587c3
commit
0acc4e6b26
@ -47,7 +47,7 @@ cmakeConfigurePhase() {
|
|||||||
eval "$postConfigure"
|
eval "$postConfigure"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$dontUseCmakeConfigure" -a ! -v configurePhase ]; then
|
if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then
|
||||||
configurePhase=cmakeConfigurePhase
|
configurePhase=cmakeConfigurePhase
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user