treewide: Make more dont* variables OK to be undefined in setup hooks

This commit is contained in:
John Ericson
2019-11-01 14:44:44 -04:00
parent 3835442cf0
commit 1290e532ea
7 changed files with 14 additions and 14 deletions
@@ -1,7 +1,7 @@
mesonConfigurePhase() {
runHook preConfigure
if [ -z "$dontAddPrefix" ]; then
if [ -z "${dontAddPrefix-}" ]; then
mesonFlags="--prefix=$prefix $mesonFlags"
fi
@@ -36,7 +36,7 @@ mesonConfigurePhase() {
runHook postConfigure
}
if [ -z "$dontUseMesonConfigure" -a -z "$configurePhase" ]; then
if [ -z "${dontUseMesonConfigure-}" -a -z "$configurePhase" ]; then
setOutputFlags=
configurePhase=mesonConfigurePhase
fi