Commit 32b7417b authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

Fixed a small bug in init script

parent f67f5f21
......@@ -33,6 +33,7 @@ for d in csadmin_dirs:
break
if get_os is not None:
compat_plat = os.popen(get_os).readline().strip()
if compat_plat:
plat = None
compat_plat_list = compat_plat.split()
for aux_plat in compat_plat_list:
......@@ -46,7 +47,8 @@ if get_os is not None:
compat_plat_list[1:], root_name))
lima_plat = os.path.join(root_name, plat)
__path__.insert(0, lima_plat)
else:
get_os = None
# This mandatory variable is systematically overwritten by 'make install'
os.environ['LIMA_LINK_STRICT_VERSION'] = 'MINOR'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment