ossp-pkg/shtool/shtoolize.in 1.30 -> 1.31
--- shtoolize.in 2003/02/11 13:00:50 1.30
+++ shtoolize.in 2003/08/13 14:20:34 1.31
@@ -391,7 +391,7 @@
echo "\$0:Hint: run \\`\$0 -h' for usage" 1>&2
exit 1
fi
-if [ ".\$1" = ".-h" -o ".\$1" = ".--help" ]; then
+if [ ".\$1" = ".-h" ] || [ ".\$1" = ".--help" ]; then
echo "This is GNU shtool, version ${version}"
echo "Copyright (c) 1994-2003 Ralf S. Engelschall <rse\@engelschall.com>"
echo "Report bugs to <bug-shtool\@gnu.org>"
@@ -408,15 +408,15 @@
echo ''
exit 0
fi
-if [ ".\$1" = ".-v" -o ".\$1" = ."--version" ]; then
+if [ ".\$1" = ".-v" ] || [ ".\$1" = ".--version" ]; then
echo "GNU shtool ${version}"
exit 0
fi
-if [ ".\$1" = ".-r" -o ".\$1" = ."--recreate" ]; then
+if [ ".\$1" = ".-r" ] || [ ".\$1" = ".--recreate" ]; then
${recreate}
exit 0
fi
-if [ ".\$1" = ".-d" -o ".\$1" = ."--debug" ]; then
+if [ ".\$1" = ".-d" ] || [ ".\$1" = ".--debug" ]; then
shift
set -x
fi
|
|