cygport-0.12.0-1: too many arguments

Warren Young warren@etr-usa.com
Thu May 2 17:19:00 GMT 2013


On 5/2/2013 07:34, Dr. Volker Zell wrote:
>
> While packaging the 64bit version of Xfig and transfig I get the following
> errors from cygport.
>
> Stripping executables:
>          usr/bin/xfig.exe
> /usr/share/cygport/lib/src_postinst.cygpart: line 860: [: too many arguments

What do you get for

     $ head -c 2 xfig-VERSION-REV/inst/usr/bin/xfig.exe | hexdump

?

Yaakov, recasting the test like this might fix it:

     if od -t x2 -N2 "${exe}" | grep -q '0000000 2123'
     then
        ...



More information about the Cygwin-apps mailing list