projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5b792
)
Add patch from Vitaly Shimansky to fix regex in modify_packages()
author
Paul Varner
<fuzzyray@gentoo.org>
Tue, 20 Mar 2012 03:59:02 +0000
(22:59 -0500)
committer
Paul Varner
<fuzzyray@gentoo.org>
Tue, 20 Mar 2012 03:59:02 +0000
(22:59 -0500)
bin/euse
patch
|
blob
|
history
diff --git
a/bin/euse
b/bin/euse
index 9c00cc315a3b339195a6a206ed834928a61c4edf..24edeb9ceb59d9d57132f96f93f15a5fd78db228 100755
(executable)
--- a/
bin/euse
+++ b/
bin/euse
@@
-1036,7
+1036,7
@@
scrub_use_flag() {
modify_package() {
get_useflags
- local atom_re="^[<>]?=?([a-z][
\d
a-z/-]+[a-z])(-[0-9pr._*-]+)?"
+ local atom_re="^[<>]?=?([a-z][
0-9
a-z/-]+[a-z])(-[0-9pr._*-]+)?"
local pkg=$(echo "${PACKAGE}" | sed -re "s/${atom_re}/\1/")
local V=$(echo "${PACKAGE}" | sed -re "s/${atom_re}/\2/")
local pkg_re="[<>]?=?${pkg}(-[\dpr._*-]+)?"