summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-25 21:32:08 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-25 21:32:08 -0800
commit35d6616d4c2f6b3d9d8e2e036259d22de318b9dd (patch)
tree2d5082c7e6bc80c254930f2b26664ad2fc60d9e4
parentf0d9ee31b8e50b7d9e15c8d1cd29a755b32ac0ab (diff)
downloadnasmbuild-35d6616d4c2f6b3d9d8e2e036259d22de318b9dd.tar.gz
nasmbuild-35d6616d4c2f6b3d9d8e2e036259d22de318b9dd.tar.xz
nasmbuild-35d6616d4c2f6b3d9d8e2e036259d22de318b9dd.zip
Changes to handle .xz files better
-rwxr-xr-xbuildall.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildall.sh b/buildall.sh
index 83ab45c..faef69a 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -47,14 +47,14 @@ build () {
)
# --- Generate Linux RPMs ---
- do32 rpmbuild --target i386 -ta nasm-$version.tar.bz2
- rpmbuild --target x86_64 -ta nasm-$version.tar.bz2
+ do32 rpmbuild --target i386 -ta nasm-$version.tar.xz
+ rpmbuild --target x86_64 -ta nasm-$version.tar.xz
# --- Expand tarballs (generate combined src+doc working tree) ---
- tar xfj nasm-$version-xdoc.tar.bz2
+ xz -c nasm-$version-xdoc.tar.xz | tar xf -
cp -a nasm-$version/doc .
- tar xfj nasm-$version.tar.bz2
+ xz -c nasm-$version.tar.bz2 | tar xf -
# --- Generate Win32 binaries ---
mkdir -p win32