Codebase list findbugs / 5b17f133-3c87-49f1-be4a-63ca24e132f2/main debian / orig-tar.sh
5b17f133-3c87-49f1-be4a-63ca24e132f2/main

Tree @5b17f133-3c87-49f1-be4a-63ca24e132f2/main (Download .tar.gz)

orig-tar.sh @5b17f133-3c87-49f1-be4a-63ca24e132f2/main

5c4173c
 
acbc9c1
5c4173c
acbc9c1
 
5c4173c
acbc9c1
 
 
 
 
 
 
 
 
 
 
 
 
#!/bin/sh -e

PACKAGE=$(dpkg-parsechangelog -S Source)
VERSION=$2
DIR=${PACKAGE}-${VERSION}
TAR=../${PACKAGE}_${VERSION}.orig.tar.xz

mkdir $DIR.tmp $DIR
tar -xf $3 --strip-components=1 -C $DIR.tmp
mv $DIR.tmp/findbugs/* $DIR
rm $3
XZ_OPT=--best tar -c -v -J -f $TAR \
    --exclude '*.jar' \
    --exclude '*.pdf' \
    --exclude '.settings' \
    --exclude '.classpath' \
    --exclude '.project' \
    --exclude '.idea' \
    $DIR
rm -Rf $DIR.tmp $DIR