This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygport-0.12.0-1: too many arguments


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
       ...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]