Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/Build.sh
robert seiver 0492fc5725 Fixed typos in wording of error statements and whitespace mistakes.
#jira UE-131094
#review @Brandon.Schaefer
#preflight 61e888e0276892ce1080d293

[CL 18666825 by robert seiver in ue5-main branch]
2022-01-19 17:10:22 -05:00

23 lines
821 B
Bash
Executable File

#!/bin/bash
# Copyright Epic Games, Inc. All Rights Reserved.
# This script gets can be used to build and clean individual projects using UnrealBuildTool
set -e
cd "`dirname "$0"`/../../../.."
# Setup Environment and Mono
source Engine/Build/BatchFiles/Linux/SetupEnvironment.sh -dotnet Engine/Build/BatchFiles/Linux
# If this is a source drop of the engine make sure that the UnrealBuildTool is up-to-date
if [ ! -f Engine/Build/InstalledBuild.txt ]; then
if ! dotnet build Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj -c Development -v quiet; then
echo "Failed to build the build tool (UnrealBuildTool)"
exit 1
fi
fi
echo Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll "$@"
dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll "$@"
exit $?