summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2006-04-02 22:17:50 +0000
committerfuzzyray <fuzzyray@gentoo.org>2006-04-02 22:17:50 +0000
commitc762665955c85921e8655510c1de0828fe5045b9 (patch)
treeebc69321874380cb89da7a4e9fee78716ebe14c9 /trunk/src
parent53b860b1ea703af791f9e729f6086601f7c9bfdf (diff)
downloadgentoolkit-c762665955c85921e8655510c1de0828fe5045b9.tar.gz
Remove extra slashes from SEARCH_DIRS path
svn path=/; revision=296
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/revdep-rebuild/revdep-rebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild
index 09f6206..4a14ede 100755
--- a/trunk/src/revdep-rebuild/revdep-rebuild
+++ b/trunk/src/revdep-rebuild/revdep-rebuild
@@ -113,6 +113,8 @@ do
# Remove any existing trailing slashes to prevent double-slashes
SEARCH_DIRS="$(echo $SEARCH_DIRS ${i/%\//}/)"
done
+# Remove any double-slashes from the path
+SEARCH_DIRS="$(echo $SEARCH_DIRS | sed 's:/\+:/:g')"
unset SEARCH_DIRS_MASK
for i in $(echo $PRELIMINARY_SEARCH_DIRS_MASK)