Debian Codegraph @

debian/orig-tar.sh

raw symbols SCIP
1 #!/bin/sh -e
2
3 VERSION=$2
4 TAR=../plexus-bsh-factory_$VERSION.orig.tar.gz
5 DIR=plexus-bsh-factory-$VERSION
6 TAG=$(echo "plexus-bsh-factory-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,' | sed 's/alpha-7/alpha-7-SNAPSHOT/')
7
8 svn export http://svn.codehaus.org/plexus/tags/$TAG/ $DIR
9 tar -c -z -f $TAR $DIR
10 rm -rf $DIR ../$TAG
11
12 # move to directory 'tarballs'
13 if [ -r .svn/deb-layout ]; then
14 . .svn/deb-layout
15 mv $TAR $origDir
16 echo "moved $TAR to $origDir"
17 fi