summaryrefslogtreecommitdiff
path: root/debian/orig-tar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian/orig-tar.sh')
-rwxr-xr-xdebian/orig-tar.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index b453707..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh -e
-
-VERSION=$(echo $2)
-TAR=../libjdom2-java_${VERSION}.orig.tar.xz
-DIR=jdom-JDOM-*
-
-tar xvf $3
-rm $3
-XZ_OPT=--best tar -c -J -f $TAR \
- --exclude '*.jar' \
- --exclude '.gitignore' \
- --exclude 'hamlet.xml' \
- --exclude 'core/samples/catalog.xml' \
- --exclude 'core/samples/catalog.xsl' \
- $DIR
-rm -rf $DIR
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
- . .svn/deb-layout
- mv $TAR $origDir
- echo "moved $TAR to $origDir"
-fi