diff options
author | Hin-Tak Leung <hintak_leung@yahoo.co.uk> | 2010-04-05 17:24:12 +0000 |
---|---|---|
committer | Hin-Tak Leung <hintak_leung@yahoo.co.uk> | 2010-04-05 17:24:12 +0000 |
commit | d3eb62d3b744011dc62fdd03a20436f775e0dc6e (patch) | |
tree | 34d4ee9ce8db528a5048d9ad3e03b7e858d2b6fa | |
parent | 972b3cf327e4ef50a536af99bc0960fe03ba8e55 (diff) |
adding escaped quotes around $0 in "basename $0" ; 2nd part of bug 691219
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11017 a1074d23-0009-0410-80fe-cf8c14f379e6
-rwxr-xr-x | gs/lib/dumphint | 2 | ||||
-rwxr-xr-x | gs/lib/dvipdf | 2 | ||||
-rwxr-xr-x | gs/lib/eps2eps | 2 | ||||
-rwxr-xr-x | gs/lib/pdf2ps | 2 | ||||
-rwxr-xr-x | gs/lib/pdfopt | 2 | ||||
-rwxr-xr-x | gs/lib/pfbtopfa | 2 | ||||
-rwxr-xr-x | gs/lib/ps2epsi | 2 | ||||
-rwxr-xr-x | gs/lib/ps2pdfwr | 2 | ||||
-rwxr-xr-x | gs/lib/ps2ps | 4 | ||||
-rwxr-xr-x | gs/lib/ps2ps2 | 4 |
10 files changed, 12 insertions, 12 deletions
diff --git a/gs/lib/dumphint b/gs/lib/dumphint index 0a6f5b26f..434c1defe 100755 --- a/gs/lib/dumphint +++ b/gs/lib/dumphint @@ -23,7 +23,7 @@ do done if [ $# -ne 1 ]; then - echo "Usage: `basename $0` input.pdf" 1>&2 + echo "Usage: `basename \"$0\"` input.pdf" 1>&2 exit 1 fi diff --git a/gs/lib/dvipdf b/gs/lib/dvipdf index 88a421083..2940dcad4 100755 --- a/gs/lib/dvipdf +++ b/gs/lib/dvipdf @@ -25,7 +25,7 @@ do done if [ $# -lt 1 -o $# -gt 2 ]; then - echo "Usage: `basename $0` [options...] input.dvi [output.pdf]" 1>&2 + echo "Usage: `basename \"$0\"` [options...] input.dvi [output.pdf]" 1>&2 exit 1 fi diff --git a/gs/lib/eps2eps b/gs/lib/eps2eps index 16b3dc073..ac3bcf89d 100755 --- a/gs/lib/eps2eps +++ b/gs/lib/eps2eps @@ -22,7 +22,7 @@ do done if [ $# -ne 2 ]; then - echo "Usage: `basename $0` ...switches... input.eps output.eps" 1>&2 + echo "Usage: `basename \"$0\"` ...switches... input.eps output.eps" 1>&2 exit 1 fi diff --git a/gs/lib/pdf2ps b/gs/lib/pdf2ps index af9acf7df..d08bb57cd 100755 --- a/gs/lib/pdf2ps +++ b/gs/lib/pdf2ps @@ -28,7 +28,7 @@ elif [ $# -eq 1 ] then outfile=`basename "$1" \.pdf`.ps else - echo "Usage: `basename $0` [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps]" 1>&2 + echo "Usage: `basename \"$0\"` [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps]" 1>&2 exit 1 fi diff --git a/gs/lib/pdfopt b/gs/lib/pdfopt index 162d4e99b..f1c2dbd47 100755 --- a/gs/lib/pdfopt +++ b/gs/lib/pdfopt @@ -22,7 +22,7 @@ do done if [ $# -ne 2 ]; then - echo "Usage: `basename $0` input.pdf output.pdf" 1>&2 + echo "Usage: `basename \"$0\"` input.pdf output.pdf" 1>&2 exit 1 fi diff --git a/gs/lib/pfbtopfa b/gs/lib/pfbtopfa index d4975e0a3..23ff38921 100755 --- a/gs/lib/pfbtopfa +++ b/gs/lib/pfbtopfa @@ -18,7 +18,7 @@ elif [ $# -eq 1 ] then outfile=`basename "$1" \.pfb`.pfa else - echo "Usage: `basename $0` input.pfb [output.pfa]" 1>&2 + echo "Usage: `basename \"$0\"` input.pfb [output.pfa]" 1>&2 exit 1 fi diff --git a/gs/lib/ps2epsi b/gs/lib/ps2epsi index 120b2db9f..16479a628 100755 --- a/gs/lib/ps2epsi +++ b/gs/lib/ps2epsi @@ -30,7 +30,7 @@ trap "rm -rf \"$tmpfile\"" 0 1 2 3 7 13 15 export outfile if [ $# -lt 1 -o $# -gt 2 ]; then - echo "Usage: `basename $0` file.ps [file.epsi]" 1>&2 + echo "Usage: `basename \"$0\"` file.ps [file.epsi]" 1>&2 exit 1 fi diff --git a/gs/lib/ps2pdfwr b/gs/lib/ps2pdfwr index 7994147c5..f30a7cd49 100755 --- a/gs/lib/ps2pdfwr +++ b/gs/lib/ps2pdfwr @@ -22,7 +22,7 @@ do done if [ $# -lt 1 -o $# -gt 2 ]; then - echo "Usage: `basename $0` [options...] (input.[e]ps|-) [output.pdf|-]" 1>&2 + echo "Usage: `basename \"$0\"` [options...] (input.[e]ps|-) [output.pdf|-]" 1>&2 exit 1 fi diff --git a/gs/lib/ps2ps b/gs/lib/ps2ps index 1d93c015c..1a1ee56e2 100755 --- a/gs/lib/ps2ps +++ b/gs/lib/ps2ps @@ -22,8 +22,8 @@ do done if [ $# -ne 2 ]; then - echo "Usage: `basename $0` [options] input.ps output.ps" 1>&2 - echo " e.g. `basename $0` -sPAPERSIZE=a4 input.ps output.ps" 1>&2 + echo "Usage: `basename \"$0\"` [options] input.ps output.ps" 1>&2 + echo " e.g. `basename \"$0\"` -sPAPERSIZE=a4 input.ps output.ps" 1>&2 exit 1 fi diff --git a/gs/lib/ps2ps2 b/gs/lib/ps2ps2 index a318c2e70..2d1dd61f9 100755 --- a/gs/lib/ps2ps2 +++ b/gs/lib/ps2ps2 @@ -19,8 +19,8 @@ do done if [ $# -ne 2 ]; then - echo "Usage: `basename $0` [options] input.ps output.ps" 1>&2 - echo " e.g. `basename $0` -sPAPERSIZE=a4 input.ps output.ps" 1>&2 + echo "Usage: `basename \"$0\"` [options] input.ps output.ps" 1>&2 + echo " e.g. `basename \"$0\"` -sPAPERSIZE=a4 input.ps output.ps" 1>&2 exit 1 fi |