[configure] Use bash instead of sh and fix a shellcheck warning about unquoted variables. (#10856)
This commit is contained in:
Родитель
1003c987f2
Коммит
c4db1697e3
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
#!/bin/bash -e
|
||||
|
||||
function show_help () {
|
||||
cat <<EOL
|
||||
|
@ -58,7 +58,7 @@ fi
|
|||
|
||||
echo "# Configure arguments: $*" >> $CONFIGURED_FILE
|
||||
|
||||
while test x$1 != x; do
|
||||
while test "x$1" != x; do
|
||||
case $1 in
|
||||
--disable-mac)
|
||||
echo "INCLUDE_MAC=" >> $CONFIGURED_FILE
|
||||
|
|
Загрузка…
Ссылка в новой задаче