diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-05-13 23:21:17 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-05-13 23:21:17 +0200 |
commit | 548a96ef75cd18f3645909031eda062de4546888 (patch) | |
tree | e7d8ce219a519a1fe205e5f8eaf5d09fb559b435 /convert-to-any | |
parent | c076b93fafbf47a85bd063c626621552f364a59d (diff) | |
download | dbscripts-548a96ef75cd18f3645909031eda062de4546888.tar.gz dbscripts-548a96ef75cd18f3645909031eda062de4546888.tar.xz |
convert-to-any: Remove 'z' from bsdtar
bsdtar can detect this on its own, which allows
us to use differing PKGEXTs easily
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'convert-to-any')
-rwxr-xr-x | convert-to-any | 4 |
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 |