From c762665955c85921e8655510c1de0828fe5045b9 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Sun, 2 Apr 2006 22:17:50 +0000 Subject: [PATCH] Remove extra slashes from SEARCH_DIRS path svn path=/; revision=296 --- trunk/src/revdep-rebuild/revdep-rebuild | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.26.2