pgweb/script/package.sh
2015-05-06 21:31:05 -05:00

14 lines
167 B
Bash
Executable File

#!/bin/bash
set -e
DIR="./bin"
rm -f $DIR/*.zip
for file in $(ls $DIR)
do
fin=$DIR/$file
fout=$DIR/$file.zip
shasum -a 256 $fin
zip -9 -q -j $fout $fin
done