~ubuntu-branches/ubuntu/trusty/wagon2/trusty

« back to all changes in this revision

Viewing changes to debian/orig-tar.sh

  • Committer: Package Import Robot
  • Author(s): Damien Raude-Morvan
  • Date: 2012-01-29 23:23:22 UTC
  • Revision ID: package-import@ubuntu.com-20120129232322-sv7vn8958hvr69e9
Tags: 2.2-1
* New upstream release:
  - It's a major release so use a new source package: wagon2.
  - Old wagon package have to be kept for maven 2.x build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
TAR=../wagon2_$2.orig.tar.gz
 
4
DIR=wagon-$2
 
5
# fix 1.0-final -> 1.0
 
6
TAG=$(echo wagon-$2 | sed 's/wagon-1.0.0$/wagon-1.0/')
 
7
 
 
8
svn export http://svn.apache.org/repos/asf/maven/wagon/tags/$TAG/ $DIR
 
9
rm -rf $DIR/lib
 
10
tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
 
11
rm -rf $DIR