diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-09-28 16:36:19 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-09-28 16:36:19 +0000 |
commit | a291bc2ac33fe8f13923c8f371a218ca9a6ab174 (patch) | |
tree | e878ff45619706332b814cc3b9c9109ca1715aad /scripts/auto-build/auto-build-common | |
parent | 35e6e95f07072b73fb319d65f8ca7f370df0e3a7 (diff) |
make a separate tarball for debian/ and exclude it from the source tarball
svn path=/trunk/; revision=16314
Diffstat (limited to 'scripts/auto-build/auto-build-common')
-rw-r--r-- | scripts/auto-build/auto-build-common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index fe05b017..0e413755 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -163,7 +163,13 @@ make_source_tarball() { rootdir=$1 tarballname=$2 + debian_tarballname=`echo $2 | sed 's|\.tar\.|.debian.tar.|'` - tar --directory $rootdir/.. --exclude-vcs --exclude=$tarballname \ + # make source tarball without debian/ + tar --directory $rootdir/.. \ + --exclude-vcs --exclude=$tarballname --exclude=debian \ -cjpf /tmp/$tarballname $(basename $1) + # make separate tarball of debian/ + tar --directory $rootdir --exclude-vcs \ + -cjpf /tmp/$debian_tarballname $(basename $1) } |