mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/generate-release-archive: Fix both soft links when creating a release archive
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7819 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -23,6 +23,6 @@ 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 "${result}" -T- -h &&
|
||||
tar --owner=root --group=root --transform="s|^|$name-$version/|;s|^$name-$version/../scst/include/backport.h$|../scst/include/backport.h|;s|^$name-$version/scstadmin.sysfs$|scstadmin.sysfs|" \
|
||||
-cjf "${result}" -T- &&
|
||||
ls -l "${result}"
|
||||
|
||||
Reference in New Issue
Block a user