Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3706855 commit 964c798Copy full SHA for 964c798
1 file changed
Doc/tools/push-docs.sh
@@ -29,7 +29,16 @@ fi
29
EXPLANATION=''
30
ANNOUNCE=true
31
32
-# XXX Should use getopt(1) here.
+getopt -T >/dev/null
33
+if [ $? -eq 4 ] ; then
34
+ # We have a sufficiently useful getopt(1) implementation.
35
+ set -- `getopt -ssh m:p:qt:F: "$@"`
36
+else
37
+ # This version of getopt doesn't support quoting of long options
38
+ # with spaces, so let's not rely on it at all.
39
+ :
40
+fi
41
+
42
while [ "$#" -gt 0 ] ; do
43
case "$1" in
44
-m)
0 commit comments