[gs-bugs] [Bug 690333] New: Small error in unixinst.mak

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Mar 16 11:15:50 PDT 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690333

           Summary: Small error in unixinst.mak
           Product: Ghostscript
           Version: 8.64
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: Config/Install
        AssignedTo: support at artifex.com
        ReportedBy: ghostscript at billmann-edv.net
         QAContact: gs-bugs at ghostscript.com


Hi,

I found a small problem in unixinst.mak when creating the ps2* files and
friends...

The problem is the sed command will also replace the GS_EXECUTABLE="$gs"
line which basically makes the determination of the correct gs executable
useless. And if gs is not found in the path this will even result in an
error when calling the ps2* programs...

The solution is pretty easy, simply change the sed command in line 46
of src/unixinst.mak from

sed -e "s/GS_EXECUTABLE=[^ \t]*/GS_EXECUTABLE=$(GS)/"

to

sed -e "s/GS_EXECUTABLE=[^ \t\"].*/GS_EXECUTABLE=$(GS)/"

:-)

Oliver



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list