diff options
| -rw-r--r-- | ChangeLog | 1 | ||||
| -rwxr-xr-x | bin/revdep-rebuild | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ 2010-03-31: Christian Ruppert <idl0r@gentoo.org> * epkginfo: Fix epkginfo to handle ambiguous package names. + * revdep-rebuild: Check if $ERRORS_FILE exist before running gawk on it. 2010-03-09: Paul Varner <fuzzyray@gentoo.org> * gentoolkit: Add inital py3k support. diff --git a/bin/revdep-rebuild b/bin/revdep-rebuild index 0dd0e87..a4fa0f7 100755 --- a/bin/revdep-rebuild +++ b/bin/revdep-rebuild @@ -815,7 +815,7 @@ main_checks() { progress $((++i)) $numFiles $target_file || progress $((++i)) $numFiles done - if [[ $SEARCH_BROKEN ]]; then + if [[ $SEARCH_BROKEN && -f $ERRORS_FILE ]]; then # Look for missing version while read target_file; do echo "obj $target_file" >> "$BROKEN_FILE" |
