From 9ead730f531a1437d8ee9b4ec39806a257360a08 Mon Sep 17 00:00:00 2001 From: Axel Date: Fri, 18 Dec 2020 09:12:58 +0100 Subject: [PATCH] fixed check.sh --- Util/BuildTools/Check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Util/BuildTools/Check.sh b/Util/BuildTools/Check.sh index cd040125a..e93156fb6 100755 --- a/Util/BuildTools/Check.sh +++ b/Util/BuildTools/Check.sh @@ -40,6 +40,8 @@ OPTS=`getopt -o h --long help,gdb,xml,gtest_args:,all,libcarla-release,libcarla- eval set -- "$OPTS" +source $(dirname "$0")/Environment.sh + PY_VERSION_LIST=3 while [[ $# -gt 0 ]]; do @@ -90,8 +92,6 @@ while [[ $# -gt 0 ]]; do esac done -source $(dirname "$0")/Environment.sh - if ! { ${LIBCARLA_RELEASE} || ${LIBCARLA_DEBUG} || ${PYTHON_API} || ${SMOKE_TESTS}; }; then fatal_error "Nothing selected to be done." fi