Blame SOURCES/create-tarball.sh

81ae81
#!/bin/bash
81ae81
81ae81
if [ $# -ne 1 ]; then
81ae81
    echo "Usage: ./create-tarball VERSION"
81ae81
    exit 1
81ae81
fi
81ae81
81ae81
VERSION=${1}
81ae81
NAME="msv"
81ae81
81ae81
# Generate tarball from upstream source control:
81ae81
svn co https://svn.java.net/svn/${NAME}~svn/tags/${NAME}-${VERSION}/ ${NAME}-${VERSION}
81ae81
81ae81
# Remove things that we don't need
81ae81
(
81ae81
  cd ${NAME}-${VERSION}
81ae81
  rm -Rf www/ relames/ .svn/
81ae81
  rm -Rf schmit/  shared/  tahiti/
81ae81
)
81ae81
81ae81
tar zcf ${NAME}-${VERSION}-clean.tar.gz ${NAME}-${VERSION}
81ae81