diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2005-06-29 04:26:34 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2005-06-29 04:26:34 +0000 |
| commit | 79e7a30e33df544cf07e39bf16c31f6a6e221c4e (patch) | |
| tree | 2f50d6d6e0835a130e6f211867d685d252105f11 | |
| parent | 06f0fa709d72c596f08771d6f15a93174de21900 (diff) | |
| download | gentoolkit-79e7a30e33df544cf07e39bf16c31f6a6e221c4e.tar.gz | |
Revert fix for bug 93574 as it can cause packages to be missed. (bug 97171)
svn path=/; revision=223
| -rw-r--r-- | trunk/ChangeLog | 3 | ||||
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 601680b..fdcd3b1 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,6 @@ +2005-06-28 Paul Varner <fuzzyray@gentoo.org> + * revdep-rebuild: Revert fix for bug 93574 as it can cause packages to be missed. (bug 97171) + 2005-06-07 Paul Varner <fuzzyray@gentoo.org> * revdep-rebuild: Delete temporary files if the environment does not match the previous environment (bug 95274) diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild index 3713810..b41fffb 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild +++ b/trunk/src/revdep-rebuild/revdep-rebuild @@ -91,7 +91,9 @@ unset SEARCH_DIRS for i in $(echo $PRELIMINARY_SEARCH_DIRS) do [ "$i" = "-*" ] && break - SEARCH_DIRS="$(echo $SEARCH_DIRS $(readlink -f $i))" + # Append a / at the end so that links and directories are treated the same by find + # Remove any existing trailing slashes to prevent double-slashes + SEARCH_DIRS="$(echo $SEARCH_DIRS ${i/%\//}/)" done unset SEARCH_DIRS_MASK |
