Skip to content

Commit d71897d

Browse files
committed
(bootstrap) quote strings
1 parent 69d4bf8 commit d71897d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

installer/bootstrap.bash

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,31 +70,31 @@ case $DISTRIB_RELEASE in
7070
TUE_ROS_VERSION=2
7171
if [[ "${ros_distro}" == "foxy" ]]
7272
then
73-
TUE_ROS_DISTRO=foxy
73+
TUE_ROS_DISTRO="foxy"
7474
elif [[ "${ros_distro}" == "galactic" ]]
7575
then
76-
TUE_ROS_DISTRO=galactic
76+
TUE_ROS_DISTRO="galactic"
7777
elif [[ "${ros_distro}" == "rolling" ]]
7878
then
79-
TUE_ROS_DISTRO=rolling
79+
TUE_ROS_DISTRO="rolling"
8080
elif [[ -n "${ros_distro}" ]]
8181
then
8282
echo "[tue-env](bootstrap) Error! ROS ${ros_distro} is unsupported with tue-env."
8383
exit 1
8484
else
85-
TUE_ROS_DISTRO=galactic
85+
TUE_ROS_DISTRO="galactic"
8686
echo "[tue-env](bootstrap) Using default ROS_DISTRO '${TUE_ROS_DISTRO}' with ROS_VERSION '${TUE_ROS_VERSION}'"
8787
fi
8888
elif [[ "${ros_version}" -eq 1 ]]
8989
then
90-
TUE_ROS_DISTRO=noetic
90+
TUE_ROS_DISTRO="noetic"
9191
TUE_ROS_VERSION=1
9292
elif [[ -n "${ros_version}" ]]
9393
then
9494
echo "[tue-env](bootstrap) Error! ROS ${ros_version} is unsupported with tue-env."
9595
exit 1
9696
else
97-
TUE_ROS_DISTRO=noetic
97+
TUE_ROS_DISTRO="noetic"
9898
TUE_ROS_VERSION=1
9999
echo "[tue-env](bootstrap) Using default ROS_DISTRO '${TUE_ROS_DISTRO}' with ROS_VERSION '${TUE_ROS_VERSION}'"
100100
fi
@@ -109,16 +109,16 @@ case $DISTRIB_RELEASE in
109109

110110
if [[ "${ros_distro}" == "humble" ]]
111111
then
112-
TUE_ROS_DISTRO=humble
112+
TUE_ROS_DISTRO="humble"
113113
elif [[ "${ros_distro}" == "rolling" ]]
114114
then
115-
TUE_ROS_DISTRO=rolling
115+
TUE_ROS_DISTRO="rolling"
116116
elif [[ -n "${ros_distro}" ]]
117117
then
118118
echo "[tue-env](bootstrap) Error! ROS ${ros_distro} is unsupported with tue-env."
119119
exit 1
120120
else
121-
TUE_ROS_DISTRO=humble
121+
TUE_ROS_DISTRO="humble"
122122
echo "[tue-env](bootstrap) Using default ROS_DISTRO '${TUE_ROS_DISTRO}' with ROS_VERSION '${TUE_ROS_VERSION}'"
123123
fi
124124
;;

0 commit comments

Comments
 (0)