import repository from arizona
[raven.git] / push / upload-stage2-stopscript.sh
1 #! /bin/bash
2
3 #username for scp
4 USERNAME=bakers
5
6 PRIVATEKEY_FN=../keys/stork.privatekey
7 STOPSCRIPT_FN=../webpage/downloads/stopscript_stage2
8 STOPSCRIPT_SIGNATURE_FN=$STOPSCRIPT_FN.signature
9
10 openssl dgst -md5 -sign $PRIVATEKEY_FN $STOPSCRIPT_FN > $STOPSCRIPT_SIGNATURE_FN
11
12 scp $STOPSCRIPT_FN $STOPSCRIPT_SIGNATURE_FN $USERNAME@stork-repository.cs.arizona.edu:/repository/stork-install/