From 1efe6b3a3fa6a7e08be4b8d8576cb4212d7972d9 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 29 Sep 2012 00:47:32 +0000 Subject: only exclude the debian/ folder in the root, not in every project svn path=/trunk/; revision=16321 --- scripts/auto-build/auto-build-common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index ebce7212..d74fd411 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -164,13 +164,14 @@ get_pd_version() make_source_tarball() { rootdir=$1 + tardir=$(basename $1) tarballname=$2 debian_tarballname=`echo $2 | sed 's|\.tar\.|.debian.tar.|'` # make source tarball without debian/ tar --directory $rootdir/.. \ - --exclude-vcs --exclude=$tarballname --exclude=debian \ - -cjpf /tmp/$tarballname $(basename $1) + --exclude-vcs --exclude=$tardir/debian \ + -cjpf /tmp/$tarballname $tardir # make separate tarball of debian/ tar --directory $rootdir --exclude-vcs \ -cjpf /tmp/$debian_tarballname debian -- cgit v1.2.1