From: barate Date: Mon, 23 Apr 2012 08:40:17 +0000 (+0000) Subject: Revert previous change since bug in vishnu_create_dir -p is now fixed X-Git-Tag: V1_5_0rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4b76b41b8777e6ce6d84499f1bd80dd6f4419de1;p=tools%2Flibbatch.git Revert previous change since bug in vishnu_create_dir -p is now fixed --- diff --git a/src/Vishnu/Batch_BatchManager_eVishnu.cxx b/src/Vishnu/Batch_BatchManager_eVishnu.cxx index 0af56e6..8809302 100644 --- a/src/Vishnu/Batch_BatchManager_eVishnu.cxx +++ b/src/Vishnu/Batch_BatchManager_eVishnu.cxx @@ -111,11 +111,10 @@ namespace Batch { { Parametre params = job.getParametre(); string subCommand = string("export OMNIORB_CONFIG=$VISHNU_CONFIG_FILE; "); - subCommand += "vishnu_connect -p 2 || exit; "; + subCommand += "vishnu_connect -p 2 && "; // create remote directories - // error in this command is not fatal because it fails if the directory already exists - subCommand += "vishnu_create_dir -p " + _hostname + ":" + params[WORKDIR].str() + "/logs; "; + subCommand += "vishnu_create_dir -p " + _hostname + ":" + params[WORKDIR].str() + "/logs && "; // copy executable string executeFile = params[EXECUTABLE];