mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix custom outputdir code
This commit is contained in:
parent
87f57dd710
commit
4a380d4208
@ -197,7 +197,7 @@ if (RUNTIME or RTDIST):
|
||||
if (DISTRIBUTOR.strip() == ""):
|
||||
exit("You must provide a valid distributor name when making a runtime or rtdist build!")
|
||||
|
||||
if (not CUSTOM_OUTPUTDIR):
|
||||
if (not IsCustomOutputDir()):
|
||||
if (RTDIST):
|
||||
SetOutputDir("built_" + DISTRIBUTOR.strip())
|
||||
elif (RUNTIME):
|
||||
|
@ -790,6 +790,9 @@ def SetVC90CRTVersion(fn, ver = None):
|
||||
def GetOutputDir():
|
||||
return OUTPUTDIR
|
||||
|
||||
def IsCustomOutputDir():
|
||||
return CUSTOM_OUTPUTDIR
|
||||
|
||||
def SetOutputDir(outputdir):
|
||||
global OUTPUTDIR, CUSTOM_OUTPUTDIR
|
||||
OUTPUTDIR=outputdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user