summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-01-08 17:06:27 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-01-08 17:06:27 +0100
commit95afa2e49570e6059e5d9aa397fe944ea802f02e (patch)
tree2e0c5ad4bf88238f4f8eb7100ab9ba5bd323148b
parent1094111559bea488054b6a9fbbfb77013803d563 (diff)
downloaddevtools-95afa2e49570e6059e5d9aa397fe944ea802f02e.tar.gz
devtools-95afa2e49570e6059e5d9aa397fe944ea802f02e.tar.xz
checkpkg: use sdiff -s to show differences in the file lists
This makes it much better readable especially for very large file lists.
-rwxr-xr-xcheckpkg2
1 files changed, 1 insertions, 1 deletions
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