OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7301a7f
)
[fix]: Use $@
author
hayao
<hayao@fascode.net>
Thu, 13 May 2021 14:10:32 +0000
(23:10 +0900)
committer
hayao
<hayao@fascode.net>
Thu, 13 May 2021 14:10:32 +0000
(23:10 +0900)
tools/locale.sh
patch
|
blob
|
history
diff --git
a/tools/locale.sh
b/tools/locale.sh
index
e19db37
..
b91cf1d
100755
(executable)
--- a/
tools/locale.sh
+++ b/
tools/locale.sh
@@
-122,14
+122,13
@@
EOF
}
# Parse options
-ARGUMENT="${@}"
OPTS="a:c:hs"
OPTL="arch:,channel:,help,script"
-if ! OPT=$(getopt -o ${OPTS} -l ${OPTL} --
${ARGUMENT}
); then
+if ! OPT=$(getopt -o ${OPTS} -l ${OPTL} --
"${@}"
); then
exit 1
fi
eval set -- "${OPT}"
-unset OPT
OPT
S OPTL
+unset OPTS OPTL
while true; do
case ${1} in