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