summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2020-12-14 08:39:50 -0800
committerRay Johnston <ray.johnston@artifex.com>2020-12-14 08:39:50 -0800
commitc6166768c6e963b0fe28ccdb266629443e521381 (patch)
tree0dc35b266f1c54b4a51cdb3da20dfe8be23c719c /lib
parent3f16ba6aa7c12ee469736f3c8e2205be81087f2a (diff)
downloadghostpdl-c6166768c6e963b0fe28ccdb266629443e521381.tar.gz
Fix bug 703270: Wrong path for PostScript helper file in ps2epsi
In the change mentioned in the bug, rather than rely on the LIBPATH search method, the ps2epsi script assumed that pd2epsi.ps would be in the same directory as the 'gs' executable, which is not correct. Change to use bare 'ps2epsi.ps' so that it will be found on the LIBPATH as instialled by: make install
Diffstat (limited to 'lib')
-rwxr-xr-xlib/ps2epsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ps2epsi b/lib/ps2epsi
index 7590cb5a7..dbfc9fb3d 100755
--- a/lib/ps2epsi
+++ b/lib/ps2epsi
@@ -40,8 +40,8 @@ else
outfile=$2
fi
-# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi'
+# Note, we expect 'ps2epsi.ps' to be on one of the search paths which can be seen by: gs -h
"$GS_EXECUTABLE" -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile="${outfile}" \
- --permit-file-all="${infile}" -- "$LIBDIR/ps2epsi.ps" "${infile}" 1>&2
+ --permit-file-all="${infile}" -- ps2epsi.ps "${infile}" 1>&2
exit 0