[ITP] gendef-20100719-1

Charles Wilson cygwin@cwilson.fastmail.fm
Tue Jul 27 00:39:00 GMT 2010


On 7/26/2010 7:48 PM, JonY wrote:
> its due in part to cygport's inherit svn template.

Not exactly.

> 
> IMHO either cygport shpuld be fixed to use "-" instead of "~" or setup
> should be fixed to handle "~" in filenames.

setup uses whatever you use when you name the .cygport file.

I did this:

mv gendef-1.0~svn2931-1.cygport       gendef-1.0_svn2931-2.cygport
mv gendef-1.0~svn2931-1.cygwin.patch  gendef-1.0_svn2931-2.cygwin.patch
mv gendef-1.0~svn2931-1.src.patch     gendef-1.0_svn2931-2.src.patch

cygport ./gendef-1.0_svn2931-2.cygport get
cygport ./gendef-1.0_svn2931-2.cygport all

and it behaved exactly as you would expect.

I repeated the experiment with a hyphen rather than an underscore, and
that worked just fine, too.  All that appears to matter is that the
separator character between "1.0" and "svnNNNN" is not a digit or
decimal point. (For all I know, a decimal point would work too, but I'll
leave that as an exercise for the student...)

--
Chuck



More information about the Cygwin-apps mailing list