scripts/generate-release-archive: Store the tar archive in the parent directory

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-19 03:38:22 +00:00
parent 1365d9b29d
commit eca14fa701

View File

@@ -20,7 +20,9 @@ if [ -z "$files" ]; then
fi
fi
result=../$name-$version.tar.bz2
rm -f "${result}"
for f in "${files[@]}"; do echo "$f"; done | \
tar --owner=root --group=root --transform="s|^|$name-$version/|" \
-cjf "$name-$version.tar.bz2" -T- -h &&
ls -l "$name-$version.tar.bz2"
-cjf "${result}" -T- -h &&
ls -l "${result}"