Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9441 - main/trunk/bin
Date: Wed, 05 Mar 2008 19:59:31
Message-Id: E1JWzlw-0004Tn-1d@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-05 19:59:27 +0000 (Wed, 05 Mar 2008)
3 New Revision: 9441
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 Bug #211949 - Tighten the variable name filter to exclude any variables
9 with names containing any non-alphanumeric characters.
10
11
12 Modified: main/trunk/bin/ebuild.sh
13 ===================================================================
14 --- main/trunk/bin/ebuild.sh 2008-03-05 19:51:12 UTC (rev 9440)
15 +++ main/trunk/bin/ebuild.sh 2008-03-05 19:59:27 UTC (rev 9441)
16 @@ -1426,7 +1426,7 @@
17 filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS}
18 BASH_[_[:alnum:]]* PATH
19 [[:digit:]][_[:alnum:]]*
20 - [-_[:alnum:]]*-[-_[:alnum:]]*"
21 + .*[^_[:alnum:]].*"
22 # TODO: Take the above variable name validation and the below sed-based
23 # declare -r filter and integrate them both directly into
24 # filter-bash-environment.py.
25
26 --
27 gentoo-commits@l.g.o mailing list