Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Corupted filename in download
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bengan
n00b
n00b


Joined: 28 Dec 2002
Posts: 6
Location: Kristinehamn, Värmland, Sweden

PostPosted: Wed Apr 30, 2003 7:48 am    Post subject: Corupted filename in download Reply with quote

Sorry if this topic have been discussed before but I couldn't find it.

I've tried to make my first ebuild and it all went sort of well except that the pointer for the URI is not handled very well. I expected the file to be named as cdget-0.2.3.tar.gz but it gets garbled. The URI is for a new p2p program. You can see for your self at.

http://trasdocka.hemmet.chalmers.se/cgi-bin/storetraffic.cgi/cdget-0.2.3.tar.gz?id=dlgz+forward=/cdget/download/cdget-0.2.3.tar.gz

Is there a way to tell wget what the filename should be and is it applicable to a ebuild? Or am I just missing something very obvious here?

/Bengan
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Wed Apr 30, 2003 8:13 pm    Post subject: Reply with quote

Code:
man wget
is your friend
Quote:
-O file
--output-document=file
The documents will not be written to the appropriate files, but all
will be concatenated together and written to file. If file already
exists, it will be overwritten. If the file is -, the documents
will be written to standard output. Including this option automat-
ically sets the number of tries to 1.


I don't know if it is applicable to ebuild. I hope this helps :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum