Skip to content

Commit

Permalink
Merge pull request #28 from imcs-compsim/improve-cubit-path-on-mac
Browse files Browse the repository at this point in the history
Use better cubit root path on mac
  • Loading branch information
isteinbrecher authored Jul 23, 2024
2 parents 2ec0bf2 + 7883d60 commit 45c4e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cubitpy/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_cubit_exe_path(cls, **kwargs):
if platform == "linux" or platform == "linux2":
return os.path.join(cubit_root, "cubit")
elif platform == "darwin":
return os.path.join(cubit_root, "Cubit.app/Contents/MacOS/Cubit")
return os.path.join(cubit_root, "Contents/MacOS/Cubit")
else:
raise ValueError("Got unexpected platform")

Expand All @@ -116,7 +116,7 @@ def get_cubit_lib_path(cls, **kwargs):
if platform == "linux" or platform == "linux2":
return os.path.join(cubit_root, "bin")
elif platform == "darwin":
return os.path.join(cubit_root, "Cubit.app/Contents/MacOS")
return os.path.join(cubit_root, "Contents/MacOS")
else:
raise ValueError("Got unexpected platform")

Expand Down

0 comments on commit 45c4e6d

Please sign in to comment.