Skip to content
Snippets Groups Projects
Commit 3da3a548 authored by Lukas Fleischer's avatar Lukas Fleischer Committed by Pierre Schmitz
Browse files

checkpkg: Use a pipe to sort package lists


No need to do this after we already wrote the package list to a file.

Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 7020d235
No related branches found
No related tags found
No related merge requests found
......@@ -69,11 +69,8 @@ for _pkgname in "${pkgname[@]}"; do
fi
fi
bsdtar tf "$oldpkg" > "filelist-$_pkgname-old"
bsdtar tf "$pkgfile" > "filelist-$_pkgname"
sort -o "filelist-$_pkgname" "filelist-$_pkgname"
sort -o "filelist-$_pkgname-old" "filelist-$_pkgname-old"
bsdtar tf "$oldpkg" | sort > "filelist-$_pkgname-old"
bsdtar tf "$pkgfile" | sort > "filelist-$_pkgname"
sdiff -s "filelist-$_pkgname-old" "filelist-$_pkgname"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment