From 089c4780d5739f6a99df134550f2902fdb7340c8 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 12 Sep 2011 22:03:22 +0000 Subject: [PATCH] run win-python-x64 if it exists --- makepanda/makepanda.bat | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/makepanda/makepanda.bat b/makepanda/makepanda.bat index ef93cb7ccb..c143d3aa75 100755 --- a/makepanda/makepanda.bat +++ b/makepanda/makepanda.bat @@ -12,10 +12,17 @@ if defined MAKEPANDA_THIRDPARTY set thirdparty=%MAKEPANDA_THIRDPARTY% if not exist makepanda\makepanda.py goto :missing1 if not exist %thirdparty%\win-python\python.exe goto :missing2 + +if exist %thirdparty%\win-python-x64\python.exe goto :build64 %thirdparty%\win-python\python.exe makepanda\makepanda.py %* if errorlevel 1 if x%1 == x--slavebuild exit 1 goto done +:build64 +%thirdparty%\win-python-x64\python.exe makepanda\makepanda.py %* +if errorlevel 1 if x%1 == x--slavebuild exit 1 +goto done + :missing1 echo You need to change directory to the root of the panda source tree echo before invoking makepanda. For further install instructions, read