Commit a21ecdbc authored by Michał Siwek's avatar Michał Siwek

Merge pull request #105 from Kriskras99/patch-1

Package.tar.gz to directoryname.tar.gz
parents b48ace06 5ff7b094
#!/bin/bash
DIRNAME=${PWD##*/}
echo creating file list
find . -type f > ../filelist && find . -type l >> ../filelist && cut -c2- ../filelist > filelist
......@@ -10,8 +11,8 @@ echo removing temporary files
rm dlistcut ../dlist ../filelist
echo building binary package
tar -czf ../package.tar.gz *
sha1sum ../package.tar.gz > ../package.tar.gz.sha1
tar -czf ../$DIRNAME.tar.gz *
sha1sum ../$DIRNAME.tar.gz > ../$DIRNAME.tar.gz.sha1
echo finished
cat ../package.tar.gz.sha1
cat ../$DIRNAME.tar.gz.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