Files
UnrealEngineUWP/GenerateProjectFiles.sh
Dmitry Rekman e7c0869aa2 Minor: fix bashism in GenerateProjectFiles.sh
[CL 2069003 by Dmitry Rekman in Main branch]
2014-05-09 22:30:05 -04:00

22 lines
526 B
Bash
Executable File

#!/bin/sh
# Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
set -e
cd "`dirname "$0"`"
if [ ! -f Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh ]; then
echo "GenerateProjectFiles ERROR: This script does not appear to be located \
in the root UE4 directory and must be run from there."
exit 1
fi
if [ "$(uname)" = "Darwin" ]; then
cd Engine/Build/BatchFiles/Mac
sh ./GenerateLLDBInit.sh
sh ./GenerateProjectFiles.sh $@
else
cd Engine/Build/BatchFiles/Linux
sh ./GenerateProjectFiles.sh $@
fi