]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
- Force Bash use -> problem with recent Debian Linux
authorribes <ribes>
Thu, 11 Feb 2010 15:20:39 +0000 (15:20 +0000)
committerribes <ribes>
Thu, 11 Feb 2010 15:20:39 +0000 (15:20 +0000)
src/Launcher/Launcher_Job_Command.cxx
src/Launcher/Launcher_Job_SALOME.cxx

index deec854b678bfc7935192b8335a2690d7cd6d10c..759986915fba283fa972a7c53196ac0cd65d1627 100644 (file)
@@ -48,7 +48,7 @@ Launcher::Job_Command::buildCommandScript(Batch::Parametre params, std::string l
   launch_script_stream.open(launch_script.c_str(), std::ofstream::out);
    
   // Script
-  launch_script_stream << "#! /bin/sh -f" << std::endl;
+  launch_script_stream << "#! /bin/bash -f" << std::endl;
   launch_script_stream << "cd " << work_directory << std::endl;
   launch_script_stream << "export PYTHONPATH=" << work_directory << ":$PYTHONPATH" << std::endl;
   launch_script_stream << "export PATH=" << work_directory << ":$PATH" << std::endl;
index 9a3d8c8abd60008e7fa5624cb36ec5b7c8c25f6a..33db90ab2e0976d55939d3b1b9f645a4e4359897 100644 (file)
@@ -59,7 +59,7 @@ Launcher::Job_SALOME::buildSalomeScript(Batch::Parametre params)
   launch_script_stream.open(launch_script.c_str(), std::ofstream::out);
    
   // Begin of script
-  launch_script_stream << "#! /bin/sh -f" << std::endl;
+  launch_script_stream << "#! /bin/bash -f" << std::endl;
   launch_script_stream << "cd " << work_directory << std::endl;
   launch_script_stream << "export PYTHONPATH=" << work_directory << ":$PYTHONPATH" << std::endl;
   launch_script_stream << "export PATH=" << work_directory << ":$PATH" << std::endl;