@@ -58,11 +58,14 @@ # Apply patch scripts if needed for patchscript in "${PATCHSCRIPTDIR}"/*.sh; do if [ -f "${patchscript}" ]; then echo "Running patch script: ${patchscript}" - . "${patchscript}" + + ( + . "${patchscript}" + ) fi done # Patch Win32 builds to always provide DllMain if we are building KitDLL if [ "${KITTARGET}" = "kitdll" ]; then