Skip to content

Commit efdfa86

Browse files
authored
Inform the user that the environment variable UE_ROOT is not set. (#104)
1 parent 3302010 commit efdfa86

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@
44
# MIT License.
55

66
set -e
7+
8+
# Inform the user that the environment variable UE_ROOT is not set.
9+
if [ -z "$UE_ROOT" ]; then
10+
echo "Warning: The UE_ROOT environment variable is not set." >&2
11+
fi
12+
713
make -f build_linux.mk $1

setup_linux_dev_tools.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
set -e
77

8+
# Inform the user that the environment variable UE_ROOT is not set.
9+
if [ -z "$UE_ROOT" ]; then
10+
echo "Warning: The UE_ROOT environment variable is not set." >&2
11+
fi
12+
813
sudo apt-get update
914

1015
# Install lsb_release to check Ubuntu version

0 commit comments

Comments
 (0)