summaryrefslogtreecommitdiff
path: root/packaging/rpm-uln/generate-tarball.sh
blob: 2ff4bff2349a28a46dbe4b6cb9adb596716d638c (plain)
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