On 6/20/12 9:32 AM, Glenn Fowler wrote: > On Wed, 20 Jun 2012 10:17:10 -0400 Glenn Fowler wrote: >> On Wed, 20 Jun 2012 16:06:05 +0200 Guido Berhoerster wrote: >>> On 20.06.2012 15:46, Glenn Fowler wrote: >>>>> curlhttp://www.research.att.com/sw/download/package > bin/package >>>> curl doesn't handle the html redirections >>>> (these redirections are in the admin domain, not ours) >>>> wget seems to handle it ok >>>> and any browser should get you to the script -- you can save it from there > >>> This is a HTTP redirection and curl handles them fine, you just need to >>> tell it to: >>> curl --location --output bin/package >>> http://www.research.att.com/sw/download/package > >> thanks -- I'll add --location to the docs and also any embedded curl usage > > ha > I just check ast usage of curl and found this > src/cmd/INIT/RELEASE:11-02-24 package.sh: change curl usage to "curl -L ..." > where -L == --location > > and aha > the source install instructions has this for grabbing the package script > (wget -O bin/package $url||curl -L $url||hurl $url) > bin/package > although the wget part should be > wget -O - > that will be fixed > > thanks again
Unfortunately, prior to this I hadn't downloaded ast-open in a *really* long time. The lib/package/INIT.README file I used was dated well before February 24, 2011, and was missing curl's -L option. I see now where the new lib/package/INIT.README does include curl's -L option. Thanks. However, the instructions in the "build and install" sections of the web pages at http://www2.research.att.com/sw/download/ and http://www2.research.att.com/sw/download/beta/ are still missing curl's -L option. Terrence Doyle _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
