4 if [[ "x$1" != "x" ]]; then
9 if [[ "x$2" != "x" ]]; then
13 scp
-P
$PORT src
/openitg
$HOST:/stats
/patch/openitg-
`git describe`
14 ssh -p
$PORT $HOST "mv /stats/patch/openitg /stats/patch/openitg.old && ln -s /stats/patch/openitg-`git describe` /stats/patch/openitg"
15 ssh -p
$PORT $HOST 'pkill openitg'