File: orig-tar.sh

package info (click to toggle)
libproxool-java 0.9.1-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,996 kB
  • sloc: java: 13,937; xml: 841; sh: 10; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

# called by uscan with '--upstream-version' <version> <file>
DIR=libproxool-java-$2.orig

# clean up the upstream tarball
tar zxf $3
mv proxool-*/ $DIR
GZIP=--best tar -c -z -f $3 -X debian/orig-tar.exclude $DIR
rm -rf $DIR

# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
  . .svn/deb-layout
  mv $3 $origDir
  echo "moved $3 to $origDir"
fi