mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
15 lines
189 B
Bash
Executable File
15 lines
189 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
|
|
shasum -a 256 $fout
|
|
done |