summaryrefslogtreecommitdiff
path: root/debian/make-new-tarball.sh
blob: f5c8028d6f21a85bf2e38db4c0f6ee63af5a94bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ -z $1 ]; then
	echo "Please provide the directory to tar up as an argument"
	exit 1
fi

BASENAME=$(basename $1)
DIRNAME=$(dirname $1)

tar -czvf hurd.tgz --exclude=CVS --exclude=.cvsignore --exclude=debian -C $DIRNAME $BASENAME