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