Kaydet (Commit) 964c798a authored tarafından Fred Drake's avatar Fred Drake

Use getopt where possible, so this supports option letters that get

jammed together on thos platforms.
üst 3706855d
......@@ -29,7 +29,16 @@ fi
EXPLANATION=''
ANNOUNCE=true
# XXX Should use getopt(1) here.
getopt -T >/dev/null
if [ $? -eq 4 ] ; then
# We have a sufficiently useful getopt(1) implementation.
set -- `getopt -ssh m:p:qt:F: "$@"`
else
# This version of getopt doesn't support quoting of long options
# with spaces, so let's not rely on it at all.
:
fi
while [ "$#" -gt 0 ] ; do
case "$1" in
-m)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment