summaryrefslogtreecommitdiff
path: root/gs/lib/ps2pdfwr
diff options
context:
space:
mode:
Diffstat (limited to 'gs/lib/ps2pdfwr')
-rwxr-xr-xgs/lib/ps2pdfwr2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/lib/ps2pdfwr b/gs/lib/ps2pdfwr
index 10cb9b682..7994147c5 100755
--- a/gs/lib/ps2pdfwr
+++ b/gs/lib/ps2pdfwr
@@ -5,7 +5,7 @@
# This definition is changed on install to match the
# executable name set in the makefile
GS_EXECUTABLE=gs
-gs="`dirname $0`/$GS_EXECUTABLE"
+gs="`dirname \"$0\"`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
gs="$GS_EXECUTABLE"
fi