Commit c7d39362 authored by Damian Montero's avatar Damian Montero Committed by Michał Siwek

reverted back create_package.sh, works but not my commit

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