From 8949eea84e39e36ac787105c063e5478d7ace20b Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 11 Oct 2012 10:18:09 +0000 Subject: [PATCH] Fix for the issue 0021727: [CEA 584] sending a Yacs graph from Windows to a cluster. --- src/Core/Batch_BatchManager_eClient.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Batch_BatchManager_eClient.cxx b/src/Core/Batch_BatchManager_eClient.cxx index fa816fc..c9a3951 100644 --- a/src/Core/Batch_BatchManager_eClient.cxx +++ b/src/Core/Batch_BatchManager_eClient.cxx @@ -113,7 +113,7 @@ namespace Batch { // pscp does not preserve access permissions on files string executable = string(params[EXECUTABLE]); - executable = executable.substr(executable.rfind("/") + 1,executable.length()); + executable = executable.substr(executable.rfind("\\") + 1,executable.length()); string subCommand = string("chmod u+x ") + string(params[TMPDIR]) + "/" + executable; string command = _protocol.getExecCommand(subCommand, _hostname, _username); -- 2.39.2