mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user