summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconvert-to-any4
1 files changed, 2 insertions, 2 deletions
diff --git a/convert-to-any b/convert-to-any
index 5b72aab..862c60b 100755
--- a/convert-to-any
+++ b/convert-to-any
@@ -56,13 +56,13 @@ pushd "$WORKDIR/build" >/dev/null
# Conversion of i686 package into "any" package.
mkdir -p package
-if ! fakeroot bsdtar zxf "$pkg" -C package; then
+if ! fakeroot bsdtar xf "$pkg" -C package; then
die "convert-to-any: error in extracting $oldpkgname"
fi
sed -i "s/arch = \(i686\|x86_64\)/arch = any/g" package/.PKGINFO
pushd package >/dev/null
-fakeroot bsdtar czf "$OUTDIR/$newpkgname" .PKGINFO *
+fakeroot bsdtar cf "$OUTDIR/$newpkgname" .PKGINFO *
popd >/dev/null
popd >/dev/null