refs #526 remove unwanted code
parent
94eaba7688
commit
bfe563d902
|
@ -240,16 +240,6 @@ with open (subprocs_log, 'ab') as fd: ## TODO improve this logging
|
||||||
for I in /opt/opengnsys/lib/engine/bin/*.lib; do source $I; done;
|
for I in /opt/opengnsys/lib/engine/bin/*.lib; do source $I; done;
|
||||||
for i in $(declare -F |cut -f3 -d" "); do export -f $i; done;
|
for i in $(declare -F |cut -f3 -d" "); do export -f $i; done;
|
||||||
'''
|
'''
|
||||||
|
|
||||||
## DO NOT COMMIT
|
|
||||||
if 'nati' == os.environ['USER'] or 'nati' == os.environ['SUDO_USER']:
|
|
||||||
devel_bash_prefix = '''
|
|
||||||
PATH=/home/nati/Downloads/work/opengnsys/opengnsys/client/shared/scripts:$PATH;
|
|
||||||
for I in /home/nati/Downloads/work/opengnsys/opengnsys/client/engine/*.lib; do source $I; done;
|
|
||||||
for i in $(declare -F |cut -f3 -d" "); do export -f $i; done;
|
|
||||||
'''
|
|
||||||
## DO NOT COMMIT
|
|
||||||
|
|
||||||
if parametros:
|
if parametros:
|
||||||
proc = ['bash', '-c', '{} {} {}'.format (devel_bash_prefix, exe, ' '.join (parametros))]
|
proc = ['bash', '-c', '{} {} {}'.format (devel_bash_prefix, exe, ' '.join (parametros))]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue