cygport-0.12.0-1: too many arguments

2013-05-02 Thread Dr. Volker Zell
Hi Yaakov

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
/usr/share/cygport/lib/src_postinst.cygpart: line 860: [: =: unary operator 
expected

Ciao
  Volker


Re: cygport-0.12.0-1: too many arguments

2013-05-02 Thread Warren Young

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 '000 2123'
then
   ...


Re: cygport-0.12.0-1: too many arguments

2013-05-02 Thread Yaakov (Cygwin/X)

On 2013-05-02 08: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
/usr/share/cygport/lib/src_postinst.cygpart: line 860: [: =: unary operator 
expected


Thanks for the report; should be fixed in master.


Yaakov