Fix custom outputdir code

This commit is contained in:
rdb 2009-11-13 14:34:59 +00:00
parent 87f57dd710
commit 4a380d4208
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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