Gentoo Archives: gentoo-dev

From: Viktor Lakics <viktor@××××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Getting $SRC_URI in a bash program
Date: Mon, 29 Jul 2002 00:52:57
Message-Id: 20020729055221.GA18225@lakics.homelinux.net
1 Hi devs,
2
3 I am learning bash, and since I run gentoo, I thought the best way
4 to learn is manipulate ebuilds:-)).
5
6 How can I extract the value of SRC_URI from a given ebuild in a
7 bash program? Do I have to call emerge or ebuild somehow!? What I
8 would like is to get the exact URL or just the basename of the file
9 as a string to manipulate my distfiles.
10
11 Anyone has an idea?
12
13 Thanks in advance. -- Viktor

Replies

Subject Author
Re: [gentoo-dev] Getting $SRC_URI in a bash program Owen Stampflee <owen@g.o>