diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-06 18:45:24 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-06 18:45:24 -0600 |
commit | a715a45b694d4dabfd3ef325960ef9fb89efc4fc (patch) | |
tree | 36d18d4c51f63ec597d6c9ac70d38fcd76305aef | |
parent | c8ebe4e08a0b4d7e78628d4de4a002245e69c452 (diff) | |
download | abuild-a715a45b694d4dabfd3ef325960ef9fb89efc4fc.tar.gz abuild-a715a45b694d4dabfd3ef325960ef9fb89efc4fc.tar.bz2 abuild-a715a45b694d4dabfd3ef325960ef9fb89efc4fc.tar.xz abuild-a715a45b694d4dabfd3ef325960ef9fb89efc4fc.zip |
checkapk: Use tar(1) portably
-rw-r--r-- | checkapk.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkapk.in b/checkapk.in index 334bbb9..4f9b27a 100644 --- a/checkapk.in +++ b/checkapk.in @@ -73,7 +73,7 @@ for i in $pkgname $subpackages; do fi apk fetch --quiet --repositories-file $tmpdir/repositories --stdout $_pkgname \ - | tar -zt | grep -v '^\.SIGN\.' | sort > filelist-$_pkgname-old \ + | tar -ztf - | grep -v '^\.SIGN\.' | sort > filelist-$_pkgname-old \ || die "failed to download old pkg, maybe run 'apk update'?" tar -ztf "$filepath" | grep -v '^\.SIGN\.' | sort > "filelist-$_pkgname" |