Codebase list java3d / 7e95d30
repack string Sylvestre Ledru 15 years ago
1 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 #!/bin/sh -e
1
2 # called by uscan with '--upstream-version' <version> <file>
3 DIR=j3d-$2
4 TAR=../j3d_$2.orig.tar.gz
5
6 # clean up the upstream tarball
7 unzip $3 -d $DIR
8 tar -c -z -f $TAR $DIR
9 rm -rf $DIR $3
10
11 # move to directory 'tarballs'
12 if [ -r .svn/deb-layout ]; then
13 . .svn/deb-layout
14 mv $TAR $origDir
15 echo "moved $TAR to $origDir"
16 fi
17
18 exit 0