Skip to content

Commit 641bb43

Browse files
committed
(tue-get) run scripts with system interpreter
1 parent 1be0954 commit 641bb43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

installer/tue-install-impl.bash

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function tue-install-target
309309
[ "$now" == "true" ] && now_cmd="--now"
310310
# Do not use 'local cmds=' because it does not preserve command output status ($?)
311311
local cmds
312-
if cmds=$("$TUE_INSTALL_SCRIPTS_DIR"/parse_install_yaml.py "$install_file".yaml $now_cmd)
312+
if cmds=$(/usr/bin/python3 "${TUE_INSTALL_SCRIPTS_DIR}"/parse_install_yaml.py "${install_file}".yaml ${now_cmd})
313313
then
314314
for cmd in $cmds
315315
do
@@ -1495,8 +1495,9 @@ function tue-install-ros
14951495
then
14961496
# catkin/ament/colcon
14971497
tue-install-debug "Parsing $pkg_xml"
1498+
14981499
local deps
1499-
deps=$("$TUE_INSTALL_SCRIPTS_DIR"/parse_package_xml.py "$pkg_xml")
1500+
deps=$(/usr/bin/python3 "${TUE_INSTALL_SCRIPTS_DIR}"/parse_package_xml.py "${pkg_xml}")
15001501
tue-install-debug "Parsed package.xml\n$deps"
15011502

15021503
for dep in $deps

0 commit comments

Comments
 (0)