from ubuntu 7.10

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21994 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-10-19 14:30:24 +00:00
parent 465fcb5cb9
commit cc8a62e402
85 changed files with 4206 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/sh -ex
SRC="$1"
VERSION="$2"
DST="heimdal_$VERSION.dfsg.1.orig.tar.gz"
SRC_DIR="heimdal-$VERSION"
MYTMP=""
trap 'if [ -n "$MYTMP" ]; then rm -rf $MYTMP; fi' EXIT
MYTMP=`mktemp -td heimdal.XXXXXX` || exit 1
tar -xzf $SRC -C $MYTMP
ls -l $MYTMP/$SRC_DIR
rm -r $MYTMP/$SRC_DIR/doc/standardisation
tar -czf $DST -C $MYTMP $SRC_DIR