From 449c47c49c93be4fe3c1fa72be74ba08df1d82c29a24ea645e72e0f29b4474f4 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 21 Sep 2016 07:20:50 +0000 Subject: [PATCH] - Handle broken symlinks OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=219 --- build-compare.changes | 5 +++++ build-compare.spec | 2 +- pkg-diff.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index 2430c23..949c956 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 21 07:18:37 UTC 2016 - olaf@aepfle.de + +- Handle broken symlinks + ------------------------------------------------------------------- Thu Aug 25 14:27:34 UTC 2016 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index 0bf5851..ad1bb5f 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20160825T182753.c18eb00 +Version: 20160921T091855.efc253f Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 96acc2e..cfe4a0b 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -842,7 +842,7 @@ check_single_file() return 1 fi ;; - symbolic\ link\ to\ *) + broken\ symbolic\ link\ to\ *|symbolic\ link\ to\ *) readlink "old/$file" > $file1 readlink "new/$file" > $file2 if ! diff -u $file1 $file2; then