summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2007-07-17 18:10:10 +0000
committerfuzzyray <fuzzyray@gentoo.org>2007-07-17 18:10:10 +0000
commit3cd1da24d120040292a17958bfa6302e0464bd42 (patch)
treecbcb23917127dcd544e59594d4c4f95a4aee25ad /trunk/src
parent36b8339ea2cd7a03e608c57b6c0d0584dff8867d (diff)
downloadgentoolkit-3cd1da24d120040292a17958bfa6302e0464bd42.tar.gz
Fix issue with --library and /
svn path=/; revision=420
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/revdep-rebuild/revdep-rebuild-rewrite2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite
index d6a3079..58af384 100755
--- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite
+++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite
@@ -350,6 +350,8 @@ get_search_env() {
if [[ $SONAME = /* ]]; then
# Set to "<space>$SONAME<space>"
SONAME_SEARCH=" $SONAME "
+ # Escape the "/" characters
+ SONAME_SEARCH="${SONAME_SEARCH//\//\\/}"
else
# Set to "<tab>$SONAME<space>"
SONAME_SEARCH=$'\t'"$SONAME "