From 95afa2e49570e6059e5d9aa397fe944ea802f02e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 8 Jan 2011 17:06:27 +0100 Subject: checkpkg: use sdiff -s to show differences in the file lists This makes it much better readable especially for very large file lists. --- checkpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpkg b/checkpkg index 38e33ad..e1f8b8b 100755 --- a/checkpkg +++ b/checkpkg @@ -82,7 +82,7 @@ for _pkgname in ${pkgname[@]}; do sort -o filelist-$_pkgname filelist-$_pkgname sort -o filelist-$_pkgname-old filelist-$_pkgname-old - diff -u filelist-$_pkgname-old filelist-$_pkgname + sdiff -s filelist-$_pkgname-old filelist-$_pkgname if diff filelist-$_pkgname-old filelist-$_pkgname | grep '\.so' > /dev/null 2>&1; then mkdir -p pkg -- cgit v1.2.3-70-g09d2