From daef220fd3b7ff58e6d0e7a02feb328949b24566 Mon Sep 17 00:00:00 2001 From: barate Date: Mon, 10 Oct 2011 13:06:58 +0000 Subject: [PATCH] Fix bug with dash and env script --- src/Launcher/Launcher_Job_SALOME.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Launcher/Launcher_Job_SALOME.cxx b/src/Launcher/Launcher_Job_SALOME.cxx index cffdde757..91d94f1e3 100644 --- a/src/Launcher/Launcher_Job_SALOME.cxx +++ b/src/Launcher/Launcher_Job_SALOME.cxx @@ -76,7 +76,7 @@ Launcher::Job_SALOME::buildSalomeScript(Batch::Parametre params) if (_env_file != "") { std::string::size_type last = _env_file.find_last_of("/"); - launch_script_stream << "source ./" << _env_file.substr(last+1) << std::endl; + launch_script_stream << ". " << _env_file.substr(last+1) << std::endl; } launch_script_stream << "export SALOME_TMP_DIR=" << work_directory << "/logs" << std::endl; -- 2.39.2