Browse files

using a wrapper script instead of ssh directly

  • Loading branch information...
1 parent 9e273ad commit 0d077155c22353d5b4c03d99d583a453bf164577 BuzzTroll committed Sep 7, 2010
View
17 control/bin/ltclient.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+port=$2
+userhost=$3
+remoteexe=$4
+remotepath=$5
+localpath=$6
+rid=$7
+ltcs=$8
+
+ssh "$@"
+rc=$?
+
+if [ $rc -eq 0 ]; then
+ md5sum $localpath
+fi
+exit $rc
View
2 control/src/python/workspacecontrol/defaults/imageprocurement/propagate_lantorrent.py
@@ -32,7 +32,7 @@ def validate(self):
if not self.ltport:
self.ltport = 2893
- self.ssh = self.p.get_conf_or_none("propagation", "ssh")
+ self.ssh = self.p.get_conf_or_none("propagation", "lantorrentexe")
if not self.ssh:
raise InvalidConfig("no path to ssh")

0 comments on commit 0d07715

Please sign in to comment.