[arch-dev-public] [PATCH] checkpkg: use sdiff to make output more readable
19 Dec
2010
19 Dec
'10
10:29 a.m.
I suggest to use sdiff -s to show differences in the file lists. This makes it much better readable especially for very large file lists. -Andy diff --git a/checkpkg b/checkpkg index 115306e..c55076c 100755 --- a/checkpkg +++ b/checkpkg @@ -80,7 +80,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
5118
Age (days ago)
5118
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andreas Radke