e22be4275b
Notes: - I have (not yet) succeeded to enable MFront in this version; - it uses math/mumps-edf, repocopied from math/mumps; - cad/scotch is now taken out of the aster tarball; - french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca (the port cad/salome should be resurrected!)
20 lines
615 B
Python
20 lines
615 B
Python
--- asrun/common/sysutils.py.orig 2017-07-13 07:40:52 UTC
|
|
+++ asrun/common/sysutils.py
|
|
@@ -83,7 +83,7 @@ def on_mac():
|
|
|
|
def on_linux():
|
|
"""Tell if it's running on a linux platform"""
|
|
- return not on_windows()
|
|
+ return sys.platform in ("linux")
|
|
|
|
def on_64bits():
|
|
"""Tell if it's running on a 64 bits platform"""
|
|
@@ -212,7 +212,7 @@ class FileName(object):
|
|
and fill properties = user, passwd, mach, path
|
|
"""
|
|
# windows : only work on local files
|
|
- if not on_linux():
|
|
+ if on_windows():
|
|
self.path = pathname
|
|
return
|
|
# posix
|