- Set correct path on remote systems
authorBart Polot <bart@net.in.tum.de>
Fri, 28 Sep 2012 13:30:55 +0000 (13:30 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 28 Sep 2012 13:30:55 +0000 (13:30 +0000)
src/testbed/testbed_api.c

index 30136730908c54f4cf8a3e73b533ed41e10b5942..5ff6076101be2cac0e083195707380e7b953288b 100644 (file)
@@ -70,7 +70,8 @@
 /**
  * Testbed Helper binary name
  */
-#define HELPER_TESTBED_BINARY ". .bashrc; gnunet-helper-testbed"
+#define HELPER_TESTBED_BINARY "gnunet-helper-testbed"
+#define HELPER_TESTBED_BINARY_SSH ". ~/.bashrc; gnunet-helper-testbed"
 
 
 /**
@@ -1200,7 +1201,7 @@ GNUNET_TESTBED_controller_start (const char *controller_ip,
     remote_args[argp++] = "-o";
     remote_args[argp++] = "BatchMode=yes";
     remote_args[argp++] = cp->dst;
-    remote_args[argp++] = HELPER_TESTBED_BINARY;
+    remote_args[argp++] = HELPER_TESTBED_BINARY_SSH;
     remote_args[argp++] = NULL;
     GNUNET_assert (argp == 8);
     cp->helper =