diff options
author | Joerg Bruehe <joerg.bruehe@oracle.com> | 2012-11-07 17:45:02 +0100 |
---|---|---|
committer | Joerg Bruehe <joerg.bruehe@oracle.com> | 2012-11-07 17:45:02 +0100 |
commit | 2307b61bbb1fded253df010befdea340952643a9 (patch) | |
tree | 84786a5d8a838c538ba1728adb280b6913a939f9 /packaging/rpm-uln/generate-tarball.sh | |
parent | e6663e70fbb016cc89a7436e488f7b30083e9a17 (diff) | |
download | mariadb-git-2307b61bbb1fded253df010befdea340952643a9.tar.gz |
Placement change:
Top level "SPECIFIC-ULN/" was inappropriate,
put the files to create RPMs for ULN into
"packaging/rpm-uln/".
Diffstat (limited to 'packaging/rpm-uln/generate-tarball.sh')
-rwxr-xr-x | packaging/rpm-uln/generate-tarball.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/rpm-uln/generate-tarball.sh b/packaging/rpm-uln/generate-tarball.sh new file mode 100755 index 00000000000..2ff4bff2349 --- /dev/null +++ b/packaging/rpm-uln/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 |