# Set up the build directory.
if exists(BUILD_DIRECTORY):
rmtree(BUILD_DIRECTORY)
- run(["git", "clone", "--local", "--branch", "live", GIT_DIRECTORY, BUILD_DIRECTORY], capture_output=True, encoding="utf-8")
+ cloneresult = run(["git", "clone", "--local", "--branch", LIVE_BRANCH, GIT_DIRECTORY, BUILD_DIRECTORY], capture_output=True, encoding="utf-8")
+ # if cloneresult.stderr:
+ # print(cloneresult.stderr)
+ cloneresult.check_returncode()
# Set up various containers.
months = {}