|
@ -5,8 +5,10 @@ |
|
|
set -e |
|
|
set -e |
|
|
set -x |
|
|
set -x |
|
|
|
|
|
|
|
|
#TODO: autodect version number, error handling |
|
|
#hardcode and uncomment if hushd is not running on this machine |
|
|
FILE="hush-3.6.2-linux-amd64.tar" |
|
|
#VERSION=3.6.3 |
|
|
|
|
|
VERSION=$(./src/hushd --version|grep version|cut -d' ' -f4|cut -d- -f1|sed 's/v//g') |
|
|
|
|
|
FILE="hush-$VERSION-linux-amd64.tar" |
|
|
TIME=$(perl -e 'print time') |
|
|
TIME=$(perl -e 'print time') |
|
|
|
|
|
|
|
|
mv build build.$TIME |
|
|
mv build build.$TIME |
|
|