mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
ubuntu.sh: source the .profile after changing it
such that the arm toolchain is available in that terminal without relogin for convenience.
This commit is contained in:
@@ -183,6 +183,7 @@ if [[ $INSTALL_NUTTX == "true" ]]; then
|
||||
echo "${NUTTX_GCC_VERSION} path already set.";
|
||||
else
|
||||
echo $exportline >> $HOME/.profile;
|
||||
source $HOME/.profile; # Allows to directly build NuttX targets in the same terminal
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user