From 354950ce4cd079f851cdb4e97b8b1be677efa85a Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Mon, 9 Aug 2021 14:20:42 +1000 Subject: [PATCH] Remove non-functional command This fails for two reasons 1) shell scripts run in their own instance, so this would be lost as soon as the script finishes. 2) more importantly, this is Ubuntu, which has a short-circuit at the top of the .bashrc to prevent it from running in a non-interactive shell --- tools/setup_buildenv_ubuntu20.04.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/setup_buildenv_ubuntu20.04.sh b/tools/setup_buildenv_ubuntu20.04.sh index 2a0aaaf47..ed97c0594 100644 --- a/tools/setup_buildenv_ubuntu20.04.sh +++ b/tools/setup_buildenv_ubuntu20.04.sh @@ -82,7 +82,6 @@ fi echo "=== Step 9: Adding GNU Arm Embedded Toolchain to PATH of current user ===" echo 'export PATH="/opt/gcc-arm-none-eabi/bin:$PATH"' >> ~/.bashrc -source ~/.bashrc if [[ $PAUSEAFTEREACHLINE == "true" ]]; then echo "Step finished. Please press Enter to continue or Ctrl+C to stop." read @@ -127,4 +126,4 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then echo "Step finished." fi -echo "Finished setting up EdgeTX v2.4 development environment. Please reboot the computer." +echo "Finished setting up EdgeTX v2.4 development environment. Please reboot the computer." \ No newline at end of file