From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DMARC_REJECT,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from web21001.mail.yahoo.com (web21001.mail.yahoo.com [216.136.227.55]) by chiba.3jane.net (Postfix) with SMTP id D4B5EABD7A for ; Mon, 29 Jul 2002 13:21:31 -0500 (CDT) Message-ID: <20020729182131.60657.qmail@web21001.mail.yahoo.com> Received: from [200.176.112.2] by web21001.mail.yahoo.com via HTTP; Mon, 29 Jul 2002 15:21:31 ART Date: Mon, 29 Jul 2002 15:21:31 -0300 (ART) From: =?iso-8859-1?q?Felipe=20Ghellar?= Subject: Re: [gentoo-dev] Getting $SRC_URI in a bash program To: gentoo-dev@gentoo.org In-Reply-To: <20020729102456.QZUL290.mta02-svc.ntlworld.com@[10.137.100.62]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 91309c9a-5957-4f9f-9262-3ff5e364dd33 X-Archives-Hash: b53e963a52a1f38ef1a3c2b3e64169e5 http://forums.gentoo.org/viewtopic.php?p=41430#41430 Maybe a look into this script can help you... --- lakicsv@ntlworld.com escreveu: > This is exactly what I did, but it did not give me what I wanted, the > complete URL or not even the file name. As you pointed out the > problem is the variables which are not set in the ebuild > themselves...Where are they set then? And how can I extract, get the > file name?! > > In other words : If I have /usr/portage/app-cat/app-2.1.ebuild then I > want to get: > > app-2.1.tar.bz2 > > or whatever the file is *ACTUALLY* called. I think this could be > different from that you could deduct from simply the ebuild name... > > Viktor _______________________________________________________________________ Yahoo! PageBuilder O super editor para criação de sites: é grátis, fácil e rápido. http://br.geocities.yahoo.com/v/pb.html