diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-02-11 11:48:04 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-02-11 11:48:04 +0100 |
commit | cc426cff465c5e67cc7ae21af2ca6924ed59db20 (patch) | |
tree | 88e02fdc8779c3a39e5474c12f4754e9b4708994 /generate-tarball.sh | |
parent | bb5aa75b1d4c9589faf6dd1e1bba74f65a06656b (diff) |
Diffstat (limited to 'generate-tarball.sh')
-rwxr-xr-x | generate-tarball.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/generate-tarball.sh b/generate-tarball.sh new file mode 100755 index 0000000..2ff4bff --- /dev/null +++ b/generate-tarball.sh @@ -0,0 +1,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 |