File: orig-tar.sh

package info (click to toggle)
libbytelist-java 1.0.12-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 300 kB
  • ctags: 148
  • sloc: java: 1,007; xml: 150; makefile: 12; sh: 5
file content (12 lines) | stat: -rwxr-xr-x 254 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=bytelist-$2

git clone http://github.com/jruby/bytelist.git $DIR
(cd $DIR && git checkout $2)

tar cfz libbytelist-java_$2.orig.tar.gz --exclude .git $DIR

rm -rf $DIR ../$2