#!/bin/sh -e# called by uscan with '--upstream-version' <version> <file>DIR=xstream-$2TAR=../libxstream-java_$2.orig.tar.gz
# clean up the upstream tarballunzip$3GZIP=--besttar-c-z-f$TAR--exclude'*.jar'$DIRrm-rf$DIR$3# move to directory 'tarballs'if[-r.svn/deb-layout];then..svn/deb-layout
mv$TAR$origDirecho"moved $TAR to $origDir"fi