aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2008-07-09 19:01:06 +0000
committerfuzzyray <fuzzyray@gentoo.org>2008-07-09 19:01:06 +0000
commit5435904ee06df9303fc15ec93b405150d51add96 (patch)
tree600ffbcb9da75527a731dc1243528ac84d37fc51
parentFix revdep-rebuild to use TMPDIR instead of HOME for temporary files. (Bug 20... (diff)
downloadgentoolkit-5435904ee06df9303fc15ec93b405150d51add96.tar.gz
gentoolkit-5435904ee06df9303fc15ec93b405150d51add96.tar.bz2
gentoolkit-5435904ee06df9303fc15ec93b405150d51add96.zip
Fix revdep-rebuild to not evaluate broken objects multiple times. (Bug 220761)
svn path=/; revision=493
-rw-r--r--trunk/ChangeLog2
-rwxr-xr-xtrunk/src/revdep-rebuild/revdep-rebuild1
2 files changed, 3 insertions, 0 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index fcf24fe..432f02f 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,6 +1,8 @@
2008-07-09: Paul Varner <fuzzyray@gentoo.org>
* revdep-rebuild: Fix revdep-rebuild to use TMPDIR instead of HOME for
temporary files. (Bug 203414)
+ * revdep-rebuild: Fix revdep-rebuild to not evaluate broken objects
+ multiple times. (Bug 220761)
2008-07-09: Paul Varner <fuzzyray@gentoo.org>
* gentoolkit: Fix gentoolkit to work without thread support in
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild
index 010c20a..69cd827 100755
--- a/trunk/src/revdep-rebuild/revdep-rebuild
+++ b/trunk/src/revdep-rebuild/revdep-rebuild
@@ -826,6 +826,7 @@ main_checks() {
)
fi
[[ -r "$BROKEN_FILE" && -s "$BROKEN_FILE" ]] || clean_exit
+ sort -u "$BROKEN_FILE" -o "$BROKEN_FILE"
einfo "Generated new $BROKEN_FILE"
fi
}