From 29942ab7f3bada8e7b7043db26e456aa510f7ee3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Mar 2008 10:17:04 +0000 Subject: [PATCH] Fix the regex for bug #211949 so that it correctly matches variable names that contain more than one non-alphanumeric character. (trunk r9419) svn path=/main/branches/2.1.2/; revision=9420 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 60442e2d6..f22fbd621 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1420,7 +1420,7 @@ filter_readonly_variables() { SANDBOX_LOG SANDBOX_ON" filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS} BASH_[_[:alnum:]]* PATH - [[:digit:]][_[:alnum:]]* [_[:alnum:]]*[^_[:alnum:]][_[:alnum:]]*" + [[:digit:]][_[:alnum:]]* [^[:space:]]*[^_[:alnum:]][^[:space:]]*" if hasq --filter-sandbox $* ; then filtered_vars="${filtered_vars} SANDBOX_[_[:alnum:]]*" else -- 2.26.2