generate-tarball.sh 215 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh

VERSION=$1

rm -rf mysql-$VERSION

tar xfz mysql-$VERSION.tar.gz || exit 1

rm mysql-$VERSION/Docs/mysql.info

tar cfz mysql-$VERSION-nodocs.tar.gz mysql-$VERSION || exit 1

rm -rf mysql-$VERSION

exit 0