forked from Archive/PX4-Autopilot
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:
parent
22030c1b8c
commit
013365d6c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue