Skip to content
Snippets Groups Projects
Commit 4297731e authored by Papeleux Luc's avatar Papeleux Luc
Browse files

Merge branch 'ArcelorTec3' into 'master'

fix linux installed version in batch

See merge request am-dept/linuxbin!50
parents 2a183d64 bb3af53b
No related branches found
Tags v3056
No related merge requests found
......@@ -155,7 +155,7 @@ class ParametricJob(PRMSet):
sys.exit(1)
def guessProfile(self):
for cfgfile in [os.path.join(os.path.split(__file__)[0], 'env.sh'),
for cfgfile in [os.path.join(os.path.split(__file__)[0],'..','env.sh'),
os.path.expanduser('~/.profile'),
os.path.expanduser('~/.bash_profile')]:
if os.path.isfile(cfgfile):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment