Blame SOURCES/generate-tarball.sh

9782d3
#!/bin/sh
9782d3
9782d3
VERSION=$1
9782d3
9782d3
rm -rf mysql-connector-java-$VERSION
9782d3
9782d3
tar xfz mysql-connector-java-$VERSION.tar.gz || exit 1
9782d3
9782d3
find mysql-connector-java-$VERSION -name '*.jar' -exec rm {} \;
9782d3
9782d3
tar cfJ mysql-connector-java-$VERSION-nojars.tar.xz mysql-connector-java-$VERSION || exit 1
9782d3
9782d3
rm -rf mysql-connector-java-$VERSION
9782d3
9782d3
exit 0