~ubuntu-branches/ubuntu/maverick/geronimo-jms-1.1-spec/maverick

« back to all changes in this revision

Viewing changes to debian/orig-tar.sh

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2010-05-23 21:55:02 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100523215502-2z6cmqs902bsofda
Tags: 1.1-1fakesync1
Fake sync due to mismatching tarball (LP: #512430).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# $1 = version
 
4
TAR=../geronimo-jms-1.1-spec_$2.orig.tar.gz
 
5
DIR=libgeronimo-jms-1.1-spec-java-$2.orig
 
6
 
 
7
# clean up the upstream tarball
 
8
svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-jms_1.1_spec-$2/ $DIR
 
9
GZIP=--best tar -c -z -f $TAR $DIR
 
10
rm -rf $DIR
 
11
rm ../geronimo-jms_1.1_spec-$2
 
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