pushd "${BASH_SOURCE%/*}" > /dev/null; . ./template-path.sh; cp -r "$(templatePath)"/* ..; if [ -f "$rootDir/valhalla.patch" ]; then git apply ./valhalla.patch; fi; popd > /dev/null;