diff options
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) } |