[gs-cvs] rev 8773 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat May 24 19:17:14 PDT 2008
Author: alexcher
Date: 2008-05-24 19:17:14 -0700 (Sat, 24 May 2008)
New Revision: 8773
Modified:
trunk/gs/lib/dumphint
trunk/gs/lib/dvipdf
trunk/gs/lib/eps2eps
trunk/gs/lib/pdfopt
trunk/gs/lib/ps2ps
trunk/gs/lib/ps2ps2
Log:
Change all shell scripts to treat a single dash '-' as a positional
parameter rather than an option. Bug 689846.
Modified: trunk/gs/lib/dumphint
===================================================================
--- trunk/gs/lib/dumphint 2008-05-23 05:05:20 UTC (rev 8772)
+++ trunk/gs/lib/dumphint 2008-05-25 02:17:14 UTC (rev 8773)
@@ -16,7 +16,7 @@
while true
do
case "$1" in
- -*) OPTIONS="$OPTIONS $1" ;;
+ -?*) OPTIONS="$OPTIONS $1" ;;
*) break ;;
esac
shift
Modified: trunk/gs/lib/dvipdf
===================================================================
--- trunk/gs/lib/dvipdf 2008-05-23 05:05:20 UTC (rev 8772)
+++ trunk/gs/lib/dvipdf 2008-05-25 02:17:14 UTC (rev 8773)
@@ -18,7 +18,7 @@
do
case "$1" in
-R*) DVIPSOPTIONS="$DVIPSOPTIONS $1";;
- -*) OPTIONS="$OPTIONS $1" ;;
+ -?*) OPTIONS="$OPTIONS $1" ;;
*) break ;;
esac
shift
Modified: trunk/gs/lib/eps2eps
===================================================================
--- trunk/gs/lib/eps2eps 2008-05-23 05:05:20 UTC (rev 8772)
+++ trunk/gs/lib/eps2eps 2008-05-25 02:17:14 UTC (rev 8773)
@@ -15,7 +15,7 @@
while true
do
case "$1" in
- -*) OPTIONS="$OPTIONS $1" ;;
+ -?*) OPTIONS="$OPTIONS $1" ;;
*) break ;;
esac
shift
Modified: trunk/gs/lib/pdfopt
===================================================================
--- trunk/gs/lib/pdfopt 2008-05-23 05:05:20 UTC (rev 8772)
+++ trunk/gs/lib/pdfopt 2008-05-25 02:17:14 UTC (rev 8773)
@@ -15,7 +15,7 @@
while true
do
case "$1" in
- -*) OPTIONS="$OPTIONS $1" ;;
+ -?*) OPTIONS="$OPTIONS $1" ;;
*) break ;;
esac
shift
Modified: trunk/gs/lib/ps2ps
===================================================================
--- trunk/gs/lib/ps2ps 2008-05-23 05:05:20 UTC (rev 8772)
+++ trunk/gs/lib/ps2ps 2008-05-25 02:17:14 UTC (rev 8773)
@@ -15,7 +15,7 @@
while true
do
case "$1" in
- -*) OPTIONS="$OPTIONS $1" ;;
+ -?*) OPTIONS="$OPTIONS $1" ;;
*) break ;;
esac
shift
Modified: trunk/gs/lib/ps2ps2
===================================================================
--- trunk/gs/lib/ps2ps2 2008-05-23 05:05:20 UTC (rev 8772)
+++ trunk/gs/lib/ps2ps2 2008-05-25 02:17:14 UTC (rev 8773)
@@ -12,7 +12,7 @@
while true
do
case "$1" in
- -*) OPTIONS="$OPTIONS $1" ;;
+ -?*) OPTIONS="$OPTIONS $1" ;;
*) break ;;
esac
shift
More information about the gs-cvs
mailing list