diff options
Diffstat (limited to 'development/Pivy/Pivy-mksrctarball.sh')
-rw-r--r-- | development/Pivy/Pivy-mksrctarball.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/development/Pivy/Pivy-mksrctarball.sh b/development/Pivy/Pivy-mksrctarball.sh new file mode 100644 index 0000000000000..bfeaaa161cd54 --- /dev/null +++ b/development/Pivy/Pivy-mksrctarball.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +# This script helps you to download and compress the sourcecode for +# Pivy from its svn server. + +set -e + +PRGNAM=Pivy +VERSION=$(date +"%Y%m%d") +SVNSERVER=https://svn.coin3d.org/repos/ + +echo "--> Downloading sourcecode from $SVNSERVER" +echo "t" | svn export $SVNSERVER/$PRGNAM/trunk $PRGNAM-$VERSION 2>&1 | tee svn-$PRGNAM-$VERSION.log + +echo "--> Making the sourcecode tarball: $PRGNAM-$VERSION.tar.bz2 " +tar -c $PRGNAM-$VERSION/ | bzip2 > $PRGNAM-$VERSION.tar.bz2 + +echo "--> Erasing the sourcecode directory: $PRGNAM-$VERSION/" +rm -rf $PRGNAM-$VERSION/ + +echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.bz2" |