Skip to content

Commit de1a6e0

Browse files
authored
Update build_apple_frameworks.sh
1 parent 41f7c28 commit de1a6e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build_apple_frameworks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ for arg in "$@"; do
100100
-h|--help) usage ;;
101101
--output=*) OUTPUT="${arg#*=}" ;;
102102
--Release)
103-
if [[ ! " ${MODES[*]} " =~ \bRelease\b ]]; then
103+
if [[ ! " ${MODES[*]:-} " =~ \bRelease\b ]]; then
104104
MODES+=("Release")
105105
fi
106106
;;
107107
--Debug)
108-
if [[ ! " ${MODES[*]} " =~ \bDebug\b ]]; then
108+
if [[ ! " ${MODES[*]:-} " =~ \bDebug\b ]]; then
109109
MODES+=("Debug")
110110
fi
111111
;;

0 commit comments

Comments
 (0)