diff --git a/Util/BuildTools/BuildCarlaUE4.bat b/Util/BuildTools/BuildCarlaUE4.bat index 55e1cf116..a1eb2a30c 100644 --- a/Util/BuildTools/BuildCarlaUE4.bat +++ b/Util/BuildTools/BuildCarlaUE4.bat @@ -106,10 +106,10 @@ if %BUILD_UE4_EDITOR% == true ( echo %FILE_N% Building Unreal Editor... if %USE_CARSIM% == true ( - py -3 %ROOT_PATH%../../Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" -e + py -3 %ROOT_PATH%Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" -e echo CarSim ON > "%ROOT_PATH%Unreal/CarlaUE4/Config/CarSimConfig.ini" ) else ( - py -3 %ROOT_PATH%../../Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" + py -3 %ROOT_PATH%Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" echo CarSim OFF > "%ROOT_PATH%Unreal/CarlaUE4/Config/CarSimConfig.ini" ) diff --git a/Util/BuildTools/Package.bat b/Util/BuildTools/Package.bat index 56d9836d4..b3cf1b3cc 100644 --- a/Util/BuildTools/Package.bat +++ b/Util/BuildTools/Package.bat @@ -100,10 +100,10 @@ rem ============================================================================ if %DO_PACKAGE%==true ( if %USE_CARSIM% == true ( - py -3 %ROOT_PATH%../../Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" -e + py -3 %ROOT_PATH%Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" -e echo CarSim ON > "%ROOT_PATH%Unreal/CarlaUE4/Config/CarSimConfig.ini" ) else ( - py -3 %ROOT_PATH%../../Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" + py -3 %ROOT_PATH%Util/BuildTools/enable_carsim_to_uproject.py -f="CarlaUE4.uproject" echo CarSim OFF > "%ROOT_PATH%Unreal/CarlaUE4/Config/CarSimConfig.ini" )