diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-09-29 00:47:32 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-09-29 00:47:32 +0000 |
commit | 1efe6b3a3fa6a7e08be4b8d8576cb4212d7972d9 (patch) | |
tree | 7dd5a46b10f82fce4d8e7450e555da6053da8054 /scripts/auto-build | |
parent | 54c9ba7f22dd983ac4e8b42299deeaee91f852f7 (diff) |
only exclude the debian/ folder in the root, not in every project
svn path=/trunk/; revision=16321
Diffstat (limited to 'scripts/auto-build')
-rw-r--r-- | scripts/auto-build/auto-build-common | 5 |
1 files 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 |