Commit c6035820 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #435 from jam7/use-xz

Change to use xz and specify xz compression option in create_package.sh
parents 39af813d 1d0d4116
#!/bin/bash
DIRNAME=${PWD##*/}
XZ_OPT=${XZ_OPT-"-7e"}
export XZ_OPT
echo creating file list
find . -type f > ../filelist && find . -type l >> ../filelist && cut -c2- ../filelist > filelist
......@@ -11,8 +14,8 @@ echo removing temporary files
rm dlistcut ../dlist ../filelist
echo building binary package
tar -czf ../$DIRNAME.tar.gz *
sha1sum ../$DIRNAME.tar.gz > ../$DIRNAME.tar.gz.sha1
tar -cJf ../$DIRNAME.tar.xz *
sha1sum ../$DIRNAME.tar.xz > ../$DIRNAME.tar.xz.sha1
echo finished
cat ../$DIRNAME.tar.gz.sha1
cat ../$DIRNAME.tar.xz.sha1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment