summaryrefslogtreecommitdiff
path: root/gs/lib/pdfopt
diff options
context:
space:
mode:
Diffstat (limited to 'gs/lib/pdfopt')
-rwxr-xr-xgs/lib/pdfopt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/lib/pdfopt b/gs/lib/pdfopt
index ce4eea1d7..162d4e99b 100755
--- a/gs/lib/pdfopt
+++ b/gs/lib/pdfopt
@@ -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