[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#976080: pdfxup doesn't work anymore



> 2) I cannot reproduce the bug. Apparently, it occurred with v1.60 (lines
> 360-361 test the version number of ghostscript). It seems that your bash
> does not correctly interpret "${GSVERSION%.*}", which should return "9".
> Could you try (in bash)
> 
> $ GSVERSION=9.53; echo "${GSVERSION%.*}"

I could figure out where the problem comes from: ghostscript added a
patch level in their version numbers. A way of fixing this is to replace
line 456 of pdfxup v2.00 (or line 363 of pdfxup v1.61, or line 354 of
v1.60), which currently reads

GSVERSION=`$GS --version 2>/dev/null`;

with

GSVERSION=`$GS --version 2>/dev/null|sed -e "s/\(.\.[^\.]*\)\..*/\\1/"`;


Sorry for this. This will be corrected in the next version of pdfxup.

Best wishes,

-- 
Nico


Reply to: