mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix build error
This commit is contained in:
parent
31b9233ec6
commit
16f5e1b56d
@ -1686,7 +1686,7 @@ def CompileAnything(target, inputs, opts, progress = None):
|
||||
if (origsuffix==".exe" and not sys.platform.startswith("win")):
|
||||
os.system("chmod +x \"%s\"" % target)
|
||||
return
|
||||
elif (target == "pandac/PandaModules.py"):
|
||||
elif (target.endswith("pandac/PandaModules.py")):
|
||||
ProgressOutput(progress, "Generating 'pandac' tree")
|
||||
return RunGenPyCode(target, inputs, opts)
|
||||
elif (infile.endswith(".py")):
|
||||
|
Loading…
x
Reference in New Issue
Block a user