Salome HOME
Fix bug with dash and env script
authorbarate <barate>
Mon, 10 Oct 2011 13:06:58 +0000 (13:06 +0000)
committerbarate <barate>
Mon, 10 Oct 2011 13:06:58 +0000 (13:06 +0000)
src/Launcher/Launcher_Job_SALOME.cxx

index cffdde7576944463bbee1319513948c9c2e7d9ca..91d94f1e3a0546c3f39d5606d42e19ebc0a517e3 100644 (file)
@@ -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;