diff options
author | Chris Johns <chrisj@rtems.org> | 2017-04-12 10:54:02 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-04-12 10:54:02 +1000 |
commit | bcd2dd316232bdf8e7dafdaa971f33263801291e (patch) | |
tree | 001fbcc1fc00d23b4cdeb150bde671c356f3a4cc /rtems-release-sources | |
parent | Keep the tools and kernel source in the `sources` directory. (diff) | |
download | rtems-release-bcd2dd316232bdf8e7dafdaa971f33263801291e.tar.bz2 |
Use defaults for compress.
The threading option is added to the XZ command.
Diffstat (limited to 'rtems-release-sources')
-rwxr-xr-x | rtems-release-sources | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rtems-release-sources b/rtems-release-sources index fcb7df1..1c823c9 100755 --- a/rtems-release-sources +++ b/rtems-release-sources @@ -84,8 +84,8 @@ cd ${release} mkdir ${workspace} cd ${workspace} - echo "tar Jxf ../${prefix}.tar.xz" - tar Jxf ../${prefix}.tar.xz + echo "tar ${comp_tar}xf ../${prefix}.tar.${comp_ext}" + tar ${comp_tar}xf ../${prefix}.tar.${comp_ext} # # Get the RSB to download the source we need to release. This is 100% of the @@ -101,7 +101,7 @@ cd ${release} # for p in rtems-tools rtems do - cp ${top}/${release}/${p}-${release}.tar.xz sources/ + cp ${top}/${release}/${p}-${release}.tar.${comp_ext} sources/ done # # Fetch the source for RTEMS tools. @@ -155,7 +155,7 @@ cd ${release} hash=$(git status | grep '^HEAD detached at ' | sed 's/^HEAD detached at //') prefix=$(echo ${g}-${hash} | sed 's/\./\-/') echo "Packaging GIT repo: ${g} to ${prefix}" - git archive --format=tar --prefix=${prefix}/ ${hash} | xz > ../../${prefix}.tar.xz + git archive --format=tar --prefix=${prefix}/ ${hash} | ${comp} > ../../${prefix}.tar.${comp_ext} cd .. # ${g} done cd .. # git |