diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2006-04-02 22:17:50 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2006-04-02 22:17:50 +0000 |
| commit | c762665955c85921e8655510c1de0828fe5045b9 (patch) | |
| tree | ebc69321874380cb89da7a4e9fee78716ebe14c9 /trunk/src | |
| parent | 53b860b1ea703af791f9e729f6086601f7c9bfdf (diff) | |
| download | gentoolkit-c762665955c85921e8655510c1de0828fe5045b9.tar.gz | |
Remove extra slashes from SEARCH_DIRS path
svn path=/; revision=296
Diffstat (limited to 'trunk/src')
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild | 2 |
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) |
