Fix backslash for UE4_ROOT in Util/BuildTools/BuildCarlaUE4.bat

This commit is contained in:
Philipp Dittmann 2020-06-17 10:28:45 +02:00 committed by bernat
parent 20bb4c55bd
commit 9ad22a290a
1 changed files with 2 additions and 1 deletions

View File

@ -54,11 +54,12 @@ if not defined UE4_ROOT (
set VALUE_NAME=InstalledDirectory
for /f "usebackq tokens=1,2,*" %%A in (`reg query !KEY_NAME! /s /reg:64`) do (
if "%%A" == "!VALUE_NAME!" (
set UE4_ROOT=%%C\
set UE4_ROOT=%%C
)
)
if not defined UE4_ROOT goto error_unreal_no_found
)
if not "%UE4_ROOT:~-1%"=="\" set UE4_ROOT=%UE4_ROOT%\
rem Set the visual studio solution directory
rem