diff options
Diffstat (limited to 'scripts/auto-build/auto-build-common')
-rw-r--r-- | scripts/auto-build/auto-build-common | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index ee795cb2..c30ffa0c 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -160,8 +160,9 @@ get_pd_version() make_source_tarball() { - version=$(get_pd_version $1) - tarball=$1/../pd-extended_$version.tar.bz2 - tar --exclude-vcs --directory $1/.. -cjpf $tarball pd-extended - mv $tarball $2 + rootdir=$1 + tarballname=$2 + + tar --directory $rootdir/.. --exclude-vcs --exclude=$tarballname \ + -cjpf /tmp/$tarballname $(basename $1) } |