From 50e55e38d5286507a6688bae5ee55a41c73ee846 Mon Sep 17 00:00:00 2001 From: xavisolesoft Date: Wed, 24 Apr 2024 10:57:03 +0100 Subject: [PATCH] Remove Environment.sh UE4 deprecated build system --- Util/BuildTools/Environment.sh | 49 ---------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 Util/BuildTools/Environment.sh diff --git a/Util/BuildTools/Environment.sh b/Util/BuildTools/Environment.sh deleted file mode 100644 index 7bab03f1a..000000000 --- a/Util/BuildTools/Environment.sh +++ /dev/null @@ -1,49 +0,0 @@ -#! /bin/bash - -# Sets the environment for other shell scripts. - -set -e - -CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )" -source $(dirname "$0")/Vars.mk -unset CURDIR - -if [ -n "${CARLA_BUILD_NO_COLOR}" ]; then - - function log { - echo "`basename "$0"`: $1" - } - - function fatal_error { - echo -e >&2 "`basename "$0"`: ERROR: $1" - exit 2 - } - -else - - function log { - echo -e "\033[1;35m`basename "$0"`: $1\033[0m" - } - - function fatal_error { - echo -e >&2 "\033[0;31m`basename "$0"`: ERROR: $1\033[0m" - exit 2 - } - -fi - -function get_git_repository_version { - git describe --tags --dirty --always -} - -function copy_if_changed { - mkdir -p $(dirname $2) - rsync -cIr --out-format="%n" $1 $2 -} - -function move_if_changed { - copy_if_changed $1 $2 - rm -f $1 -} - -CARLA_BUILD_CONCURRENCY=`nproc --all`