mysql8.4/generate-tarball.sh
Honza Horák f6965ec0a1 Use xz instead of gzip
Resolves: #982387
2024-02-05 16:59:12 +01: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