Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9419 - main/trunk/bin
Date: Mon, 03 Mar 2008 10:16:33
Message-Id: E1JW7id-0003L2-KE@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-03 10:16:26 +0000 (Mon, 03 Mar 2008)
3 New Revision: 9419
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 Fix the regex for bug #211949 so that it correctly matches variable
9 names that contain more than one non-alphanumeric character.
10
11
12 Modified: main/trunk/bin/ebuild.sh
13 ===================================================================
14 --- main/trunk/bin/ebuild.sh 2008-03-03 04:28:19 UTC (rev 9418)
15 +++ main/trunk/bin/ebuild.sh 2008-03-03 10:16:26 UTC (rev 9419)
16 @@ -1425,7 +1425,7 @@
17 SANDBOX_LOG SANDBOX_ON"
18 filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS}
19 BASH_[_[:alnum:]]* PATH
20 - [[:digit:]][_[:alnum:]]* [_[:alnum:]]*[^_[:alnum:]][_[:alnum:]]*"
21 + [[:digit:]][_[:alnum:]]* [^[:space:]]*[^_[:alnum:]][^[:space:]]*"
22 if hasq --filter-sandbox $* ; then
23 filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*"
24 else
25
26 --
27 gentoo-commits@l.g.o mailing list