Don't override host URL when building CMU runtime distribution

This commit is contained in:
rdb
2015-08-09 13:10:20 +02:00
parent 81801654a2
commit 85e3d2ee3a
+3 -4
View File
@@ -460,9 +460,8 @@ SdkAutoDisableMax()
SdkAutoDisablePhysX()
SdkAutoDisableSpeedTree()
if (RTDIST and DISTRIBUTOR == "cmu"):
HOST_URL = "https://runtime.panda3d.org/"
if RTDIST and DISTRIBUTOR == "cmu":
# Some validation checks for the CMU builds.
if (RTDIST_VERSION == "cmu_1.7" and SDK["PYTHONVERSION"] != "python2.6"):
exit("The CMU 1.7 runtime distribution must be built against Python 2.6!")
elif (RTDIST_VERSION == "cmu_1.8" and SDK["PYTHONVERSION"] != "python2.7"):
@@ -470,7 +469,7 @@ if (RTDIST and DISTRIBUTOR == "cmu"):
elif (RTDIST_VERSION == "cmu_1.9" and SDK["PYTHONVERSION"] != "python2.7"):
exit("The CMU 1.9 runtime distribution must be built against Python 2.7!")
elif RTDIST and not HOST_URL:
if RTDIST and not HOST_URL:
exit("You must specify a host URL when building the rtdist!")
if RUNTIME and not HOST_URL: