aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2011-10-09 01:32:16 +0200
committerMarkus Meier <maekke@gentoo.org>2011-10-09 01:32:16 +0200
commitc2495a8d1603d5de8bbedb2cd27267ac1e083df9 (patch)
treecdfef68dea0cf58f10fb2a4ea17742b14ecbc8c3 /scripts
parentstrip the pkg argument (leading = and version numbers) (diff)
downloadmaekke-c2495a8d1603d5de8bbedb2cd27267ac1e083df9.tar.gz
maekke-c2495a8d1603d5de8bbedb2cd27267ac1e083df9.tar.bz2
maekke-c2495a8d1603d5de8bbedb2cd27267ac1e083df9.zip
replace all negative use flags
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rdep2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rdep b/scripts/rdep
index bf0688f..f7380b2 100755
--- a/scripts/rdep
+++ b/scripts/rdep
@@ -53,7 +53,7 @@ for p in $(grep -v '^[B]' ${tmp}); do
# negative use deps are !use and no -use
# multiple use-deps are separated by '+'
if [[ -n ${use} ]]; then
- use="${use/!/-}"
+ use="${use//!/-}"
use="${use//+/,}"
fi