We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7301a7f commit 2a36224Copy full SHA for 2a36224
1 file changed
tools/locale.sh
@@ -122,14 +122,13 @@ EOF
122
}
123
124
# Parse options
125
-ARGUMENT="${@}"
126
OPTS="a:c:hs"
127
OPTL="arch:,channel:,help,script"
128
-if ! OPT=$(getopt -o ${OPTS} -l ${OPTL} -- ${ARGUMENT}); then
+if ! OPT=$(getopt -o ${OPTS} -l ${OPTL} -- "${@}"); then
129
exit 1
130
fi
131
eval set -- "${OPT}"
132
-unset OPT OPTS OPTL
+unset OPTS OPTL
133
134
while true; do
135
case ${1} in
0 commit comments