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=0.2 required=5.0 tests=DMARC_QUAR,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by chiba.3jane.net (Postfix) with ESMTP id 7A863ABD7A; Mon, 29 Jul 2002 05:25:11 -0500 (CDT) Received: from [10.137.100.62] by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020729102456.QZUL290.mta02-svc.ntlworld.com@[10.137.100.62]>; Mon, 29 Jul 2002 11:24:56 +0100 From: Reply-To: viktor@lakics.net To: Owen Stampflee Cc: gentoo-dev@gentoo.org Subject: Re: Re: [gentoo-dev] Getting $SRC_URI in a bash program Date: Mon, 29 Jul 2002 10:24:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020729102456.QZUL290.mta02-svc.ntlworld.com@[10.137.100.62]> 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: c033dfe9-176b-49b3-b0ed-b7dada69eaf2 X-Archives-Hash: 9b19dfb6ea602d3634e373aa4f124d73 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 > > From: Owen Stampflee > Date: Sun, 28 Jul 2002 23:00:32 +0000 > To: gentoo-dev@gentoo.org > Subject: Re: [gentoo-dev] Getting $SRC_URI in a bash program > > Simply source the ebuild, and SRC_URI and other variables will be set. > This wont work for ${P}, ${PN}, ${PV}, etc. etc. as they are not set in the > ebuild themselves. > > Owen > > -- > Owen Stampflee - owen@gentoo.org > Gentoo Linux Developer - http://www.gentoo.org > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev >