fixed check.sh

This commit is contained in:
Axel 2020-12-18 09:12:58 +01:00 committed by Axel1092
parent 8521510be8
commit 9ead730f53
1 changed files with 2 additions and 2 deletions

View File

@ -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