maillog: 23/08/2005-14:33:52(+1200): Nick Rout types > I am not sure how to deal with this problem. > > Lost Labyrinth is a game I am trying to write an ebuild for. I am stuck > on downloading, which isn't very encouraging. > > The URL to download the gane is: > > http://laby.toybox.de/download15/ > > which redirects to the latest version of the file (currently > laby_1.0.1.tar.gz) > > Unfortunately the redirect results in wget naming the file: > > download2.php?fileid=15 > > which is where the pain starts! > > wget does work ok if you use the -O optin like: > > wget http://laby.toybox.de/download15/ -O laby_1.0.1.tar.gz > > So, i am looking for a way to ensure that wget, when operated through > portage, will append the -O, or I am wondering if there is a way to > over-ride the default fetching behaviour in the ebuild itself, something > like: > > DOWNLOAD_CMD="wget http://laby.toybox.de/download15/ -O > laby_$(P).tar.gz"
Why not use http://laby.toybox.de/download15/laby_1.0.1.tar.gz ? Or http://laby.toybox.de/download15/${PN}_${PV}.tar.gz -- *) Georgi Georgiev *) Mandrell: "You know what I think?" Doctor: *) (* [EMAIL PROTECTED] (* "Ah, ah that's a catch question. With a (* *) +81(90)2877-8845 *) brain your size you don't think, right?" - *) (* ------------------- (* - Dr. Who (* -- [email protected] mailing list
