~ubuntu-branches/ubuntu/natty/plexus-velocity/natty

« back to all changes in this revision

Viewing changes to debian/orig-tar.sh

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Claude
  • Date: 2009-09-02 22:18:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090902221848-e3k0tpft2jka48w5
Tags: 1.1.7-3
* Add Build-Depends on openjdk-6-doc (Closes: #543116)
* Build-Depends on default-jdk instead of default-jdk-builddep,
  as gcj is not used
* Bump up Standards-Version to 3.8.3, no change

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# $2 = version
 
4
 
 
5
TAR=../plexus-velocity_$2.orig.tar.gz
 
6
DIR=plexus-velocity-$2
 
7
TAG=plexus-velocity-$2
 
8
 
 
9
svn export http://svn.codehaus.org/plexus/plexus-components/tags/$TAG/ $DIR
 
10
tar -c -z -f $TAR $DIR
 
11
rm -rf $DIR ../$TAG
 
12
 
 
13
# move to directory 'tarballs'
 
14
if [ -r .svn/deb-layout ]; then
 
15
  . .svn/deb-layout
 
16
  mv $TAR $origDir
 
17
  echo "moved $TAR to $origDir"
 
18
fi
 
19