You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Makes Setup.sh fail in case GitDependencies fail, avoiding confusion. - See https://forums.unrealengine.com/showthread.php?51998-GitHub-dependency-zips-and-latest-preview-snapshots for details. [CL 2475267 by Dmitry Rekman in Main branch]
22 lines
550 B
Bash
Executable File
22 lines
550 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Certain versions of mono can crash while running GitDependencies
|
|
# This script checks if that happened and simply re-runs the tool.
|
|
|
|
ARGS=$@
|
|
# cd to Engine root
|
|
cd "$(dirname "$BASH_SOURCE")"/../../../..
|
|
RESULT=0
|
|
|
|
while : ; do
|
|
mono Engine/Binaries/DotNET/GitDependencies.exe $ARGS
|
|
RESULT=$?
|
|
|
|
echo "Result: $RESULT"
|
|
# quit if not crashed
|
|
[[ $RESULT -lt 129 ]] && break
|
|
echo "mono GitDependencies.exe $ARGS crashed with return code $RESULT" >> GitDependencies.crash.log
|
|
done
|
|
|
|
exit $RESULT
|