File: orig-tar.sh

package info (click to toggle)
rhino 1.7R4-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,484 kB
  • sloc: java: 82,485; xml: 769; sh: 30; makefile: 30
file content (12 lines) | stat: -rwxr-xr-x 243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

# called by uscan with '--upstream-version' <version> <file>
DIR=rhino-$2
TAR=rhino_$2.orig.tar.gz

# Repack upstream source to tar.gz
unzip $3
mv rhino* $DIR
GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
rm -rf $DIR