Skip to content

Commit

Permalink
Update src/rez/system.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <[email protected]>
Signed-off-by: Michal Fratczak <[email protected]>
  • Loading branch information
JeanChristopheMorinPerso authored and michalfratczak committed Jan 26, 2025
1 parent 10f3744 commit 9bea979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rez/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ def rez_bin_path(self):
#
import rez
module_path = rez.__path__[0]
# Best effort attempt at converting slashes to the current
# platform native slash. (for example, forward to backward).
module_path = os.path.normpath(module_path)

parts = module_path.split(os.path.sep)
Expand Down

0 comments on commit 9bea979

Please sign in to comment.