Browse Source

fix build error

rdb 13 years ago
parent
commit
16f5e1b56d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -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")):