mysql/generate-tarball.sh
Honza Horák affa9444c5 Use xz instead of gzip
Resolves: #982387
2013-07-09 10:12:16 +02:00

16 lines
215 B
Bash
Executable File

#!/bin/sh
VERSION=$1
rm -rf mysql-$VERSION
tar xfz mysql-$VERSION.tar.gz || exit 1
rm mysql-$VERSION/Docs/mysql.info
tar cfJ mysql-$VERSION-nodocs.tar.xz mysql-$VERSION || exit 1
rm -rf mysql-$VERSION
exit 0