Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/RunMono.sh
Marc Audy a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00

25 lines
721 B
Bash
Executable File

#!/bin/bash
## Unreal Engine 4 Mono setup script
## Copyright Epic Games, Inc. All Rights Reserved.
## This script is expecting to exist in the UE4/Engine/Build/BatchFiles directory. It will not work correctly
## if you copy it to a different location and run it.
echo
echo Running Mono...
echo
source "`dirname "$0"`/SetupEnvironment.sh" -mono "`dirname "$0"`"
# put ourselves into Engine directory (two up from location of this script)
pushd "`dirname "$0"`/../../.."
if [ ! -f Build/BatchFiles/Linux/RunMono.sh ]; then
echo RunMono ERROR: The batch file does not appear to be located in the /Engine/Build/BatchFiles directory. This script must be run from within that directory.
exit 1
fi
mono "$@"
exit $?