We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f7c28 commit de1a6e0Copy full SHA for de1a6e0
build/build_apple_frameworks.sh
@@ -100,12 +100,12 @@ for arg in "$@"; do
100
-h|--help) usage ;;
101
--output=*) OUTPUT="${arg#*=}" ;;
102
--Release)
103
- if [[ ! " ${MODES[*]} " =~ \bRelease\b ]]; then
+ if [[ ! " ${MODES[*]:-} " =~ \bRelease\b ]]; then
104
MODES+=("Release")
105
fi
106
;;
107
--Debug)
108
- if [[ ! " ${MODES[*]} " =~ \bDebug\b ]]; then
+ if [[ ! " ${MODES[*]:-} " =~ \bDebug\b ]]; then
109
MODES+=("Debug")
110
111
0 commit comments