[Vm-dev] [commit][3280] Fix slip in ensureSqueakV41sources for gzipped download case

Eliot Miranda eliot.miranda at gmail.com
Wed Mar 18 15:36:11 UTC 2015


On Tue, Mar 17, 2015 at 5:18 PM, Tobias Pape <Das.Linux at gmx.de> wrote:

>
>
> On 18.03.2015, at 01:12, commits at squeakvm.org wrote:
>
> >
> > Revision: 3280
> > Author:   eliot
> > Date:     2015-03-17 17:12:19 -0700 (Tue, 17 Mar 2015)
> > Log Message:
> > -----------
> > Fix slip in ensureSqueakV41sources for gzipped download case
> >
> > Modified Paths:
> > --------------
> >    branches/Cog/image/ensureSqueakV41sources.sh
> >
> > Modified: branches/Cog/image/ensureSqueakV41sources.sh
> > ===================================================================
> > --- branches/Cog/image/ensureSqueakV41sources.sh      2015-03-18
> 00:01:30 UTC (rev 3279)
> > +++ branches/Cog/image/ensureSqueakV41sources.sh      2015-03-18
> 00:12:19 UTC (rev 3280)
> > @@ -1,8 +1,9 @@
> > #!/bin/bash
> > +. ./envvars.sh
> > test -f SqueakV41.sources && exit 0
> > if [ -f ../sources/SqueakV41.sources ]; then
> >       ln ../sources/SqueakV41.sources .
> >       exit 0
> > fi
> > geturl http://ftp.squeak.org/sources_files/SqueakV41.sources.gz
> > -gunzip SqueakV41.sources.gz
> > +gunzip SqueakV41.sources
>
> I am a bit puzzled.
> Why should the filename _not_ contain a .gz if it was donwloaded _with_
> that
> extension?


On Mac OS gunzip looks for foo.gz so if you ask it to unpack  foo.gz it
tries to unpack foo.gz.gz.  Dumb but true.
-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150318/5a5ced2d/attachment.htm


More information about the Vm-dev mailing list