Salome HOME
Fix case sentitive env file for Homard
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 24 Mar 2021 08:14:34 +0000 (09:14 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 24 Mar 2021 08:14:34 +0000 (09:14 +0100)
products/env_scripts/Homard.py [deleted file]
products/env_scripts/Homard_bin.py [new file with mode: 0755]
products/homard_bin.pyconf
products/homard_pre_windows.pyconf

diff --git a/products/env_scripts/Homard.py b/products/env_scripts/Homard.py
deleted file mode 100755 (executable)
index 9c49ae3..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-def set_env(env, prereq_dir, version):
-    env.set('HOMARD_REP_EXE', prereq_dir)
-    root = env.get('HOMARD_REP_EXE')
-    env.set('HOMARD_EXE', 'homard')
-    
-    env.prepend('PATH', root)
-
-def set_nativ_env(env):
-    pass
diff --git a/products/env_scripts/Homard_bin.py b/products/env_scripts/Homard_bin.py
new file mode 100755 (executable)
index 0000000..9c49ae3
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+def set_env(env, prereq_dir, version):
+    env.set('HOMARD_REP_EXE', prereq_dir)
+    root = env.get('HOMARD_REP_EXE')
+    env.set('HOMARD_EXE', 'homard')
+    
+    env.prepend('PATH', root)
+
+def set_nativ_env(env):
+    pass
index aae51096484556cc2d916fda9ced7c30851c416b..6311ceec5e27eb3c4e9127a63d2c544415e2bee4 100644 (file)
@@ -6,7 +6,7 @@ default :
     get_source : "archive"
     environ :
     {
-       env_script : "Homard.py"
+       env_script : "Homard_bin.py"
     }
     depend : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
@@ -23,7 +23,7 @@ version_6_6_0_to_8_5_0 :
     archive_info : {archive_name : "Homard-11.11.tar.gz"}
     environ :
     {
-       env_script : "Homard.py"
+       env_script : "Homard_bin.py"
     }
     depend : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
index 3e3e7f5afc3835a466ec78fae56f6c7e8d0b02f9..bed9cafa0f1c3e812be61f74246af742d54ad8a6 100644 (file)
@@ -6,7 +6,7 @@ default :
     get_source : "archive"
     environ :
     {
-       env_script : $name + ".py"
+       env_script : "Homard_bin.py"
     }
     depend : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name