projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b860b
)
Remove extra slashes from SEARCH_DIRS path
author
fuzzyray
<fuzzyray@gentoo.org>
Sun, 2 Apr 2006 22:17:50 +0000
(22:17 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Sun, 2 Apr 2006 22:17:50 +0000
(22:17 -0000)
svn path=/; revision=296
trunk/src/revdep-rebuild/revdep-rebuild
patch
|
blob
|
history
diff --git
a/trunk/src/revdep-rebuild/revdep-rebuild
b/trunk/src/revdep-rebuild/revdep-rebuild
index 09f6206941763eeb248c9abf9847c1d38b6f2daa..4a14edebc03e2a3628fa1393d00e60379ad395a6 100755
(executable)
--- 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)