Bug fixes for proxy-stc
Change-Id: Ic6d7bb0e58a4837e8bd8e96e3decac199f20c04f
diff --git a/tools/test/bin/onos-push-bits-through-proxy b/tools/test/bin/onos-push-bits-through-proxy
index 6b909f6..5ba72b7 100755
--- a/tools/test/bin/onos-push-bits-through-proxy
+++ b/tools/test/bin/onos-push-bits-through-proxy
@@ -19,6 +19,8 @@
ssh $remote "
for other in ${others//$'\n'/ } ; do
echo \"Pushing to \$other ...\";
- scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $ONOS_TAR $ONOS_USER@\$other:$ONOS_TAR
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
+ /tmp/\$(basename $ONOS_TAR) \
+ $ONOS_USER@\$other:/tmp/\$(basename $ONOS_TAR)
done
"