From: Nabil Ghodbane Date: Wed, 24 Mar 2021 08:14:34 +0000 (+0100) Subject: Fix case sentitive env file for Homard X-Git-Tag: V9_7_0~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=edd3807f30c4f49fd62738079c90fa4d435c44c4;p=tools%2Fsat_salome.git Fix case sentitive env file for Homard --- diff --git a/products/env_scripts/Homard.py b/products/env_scripts/Homard.py deleted file mode 100755 index 9c49ae3..0000000 --- a/products/env_scripts/Homard.py +++ /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 index 0000000..9c49ae3 --- /dev/null +++ b/products/env_scripts/Homard_bin.py @@ -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 diff --git a/products/homard_bin.pyconf b/products/homard_bin.pyconf index aae5109..6311cee 100644 --- a/products/homard_bin.pyconf +++ b/products/homard_bin.pyconf @@ -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 diff --git a/products/homard_pre_windows.pyconf b/products/homard_pre_windows.pyconf index 3e3e7f5..bed9caf 100644 --- a/products/homard_pre_windows.pyconf +++ b/products/homard_pre_windows.pyconf @@ -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