Codebase list libslf4j-java / debian/1.5.10-1 debian / orig-tar.sh
debian/1.5.10-1

Tree @debian/1.5.10-1 (Download .tar.gz)

orig-tar.sh @debian/1.5.10-1

1241a47
 
1f9031e
89c917b
1241a47
89c917b
1241a47
 
89c917b
1241a47
89c917b
1241a47
 
 
 
 
 
 
 
#!/bin/sh -e

# $2 = version
# $3 = file
DIR=libslf4j-java-$2.orig
TAR=$3

# clean up the upstream tarball
tar xzf $TAR
mv slf4j-$2 $DIR
GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
rm -rf $DIR

# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
  . .svn/deb-layout
  mv $3 $origDir
  echo "moved $3 to $origDir"
fi