Skip to content

Commit

Permalink
[qtcreator] more env var fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed May 1, 2024
1 parent 2c27a09 commit ff21f82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qtcreator/setup
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ function qtcreator
if [[ ! -v TUE_ENV_ROS_VERSION && -v TUE_ROS_VERSION ]]
then
TUE_ENV_ROS_VERSION=${TUE_ROS_VERSION}
>&2 echo "Change the config of your environment to use 'TUE_ENV_ROS_VERSION' instead of 'TUE_ROS_VERSION'"
>&2 echo -e "\e[33;1m[qtcreator] Change the config of your environment to use 'TUE_ENV_ROS_DISTRO' instead of 'TUE_ROS_DISTRO'.\e[0m"
fi

# TODO(anyone): remove when tue-env is updated to new variable names
[[ -v TUE_ENV_WS_DIR || ! -v TUE_WS_DIR ]] || TUE_ENV_WS_DIR=${TUE_WS_DIR}

if [[ "${TUE_ENV_ROS_VERSION}" -eq 1 ]]
then
# Make sure packages can be build by QT
Expand Down

0 comments on commit ff21f82

Please sign in to comment.