Debian Codegraph @

debian/orig-tar.sh

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