Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in users/antarus/projects/infra: use_desc_gen.sh
Date: Sat, 23 Aug 2008 21:28:31
Message-Id: E1KX0eq-00085w-Gj@stork.gentoo.org
1 robbat2 08/08/23 21:28:28
2
3 Modified: use_desc_gen.sh
4 Log:
5 Do not rely on file being +x.
6
7 Revision Changes Path
8 1.6 var/cvsroot/gentoo/users/antarus/projects/infra/use_desc_gen.sh
9
10 file : http://sources.gentoo.org/viewcvs.py//var/cvsroot/gentoo/users/antarus/projects/infra/use_desc_gen.sh?rev=1.6&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py//var/cvsroot/gentoo/users/antarus/projects/infra/use_desc_gen.sh?rev=1.6&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py//var/cvsroot/gentoo/users/antarus/projects/infra/use_desc_gen.sh?r1=1.5&r2=1.6
13
14 Index: use_desc_gen.sh
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/users/antarus/projects/infra/use_desc_gen.sh,v
17 retrieving revision 1.5
18 retrieving revision 1.6
19 diff -p -w -b -B -u -u -r1.5 -r1.6
20 --- use_desc_gen.sh 23 Aug 2008 06:53:25 -0000 1.5
21 +++ use_desc_gen.sh 23 Aug 2008 21:28:28 -0000 1.6
22 @@ -2,7 +2,7 @@
23 # Written by Douglas Goldstein <cardoe@g.o>
24 # This code is hereby placed into the public domain
25 #
26 -# $Id: use_desc_gen.sh,v 1.5 2008/08/23 06:53:25 cardoe Exp $
27 +# $Id: use_desc_gen.sh,v 1.6 2008/08/23 21:28:28 robbat2 Exp $
28
29 usage() {
30 prog=$(basename $1)
31 @@ -43,7 +43,7 @@ echo "" >> /tmp/${pid}.use.local.desc
32 #grep -v -f /tmp/${pid}.grep "${1}/profiles/use.local.desc" > /tmp/${pid}.new.use
33
34 # the secret sauce, append to new use.local.desc
35 -./use_desc_gen --repo_path "${1}" > /tmp/${pid}.new.use
36 +python use_desc_gen --repo_path "${1}" > /tmp/${pid}.new.use
37
38 # let's keep it sorted: use major category, minor category, and package name
39 # as primary, secondary, and tertiary sort keys, respectively