Skip to content

Commit

Permalink
EMSUSD-282 - MayaUsd: build with Qt directly from Maya devkit/runtime
Browse files Browse the repository at this point in the history
* Fixed python scripting error.
  • Loading branch information
seando-adsk committed Aug 30, 2023
1 parent 8927d6e commit 547740d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ def isBadPath(path, base):
return not os.path.realpath(os.path.abspath(os.path.join(base, path))).startswith(base)
def isBadLink(info, base):
# Links are interpreted relative to the directory containing the link.
tip = os.path.realpath(os.path.abspath(os.path.join(base, dirname(info.name))))
return _badpath(info.linkname, base=tip)
tip = os.path.realpath(os.path.abspath(os.path.join(base, os.path.dirname(info.name))))
return isBadPath(info.linkname, base=tip)

base = os.path.realpath(os.path.abspath('.'))
result = []
Expand Down

0 comments on commit 547740d

Please sign in to comment.