mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Tools: Correct install-prereqs-arch user input text
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
31dbf282cb
commit
d37df424ab
@ -57,7 +57,7 @@ fi
|
||||
|
||||
exportline="export PATH=$OPT/$ARM_ROOT/bin:\$PATH";
|
||||
if ! grep -Fxq "$exportline" ~/.bashrc ; then
|
||||
if prompt_user "Add $OPT/$ARM_ROOT/bin to your PATH [Y/n]?" ; then
|
||||
if prompt_user "Add $OPT/$ARM_ROOT/bin to your PATH [N/y]?" ; then
|
||||
echo "$exportline" >> ~/.bashrc
|
||||
. ~/.bashrc
|
||||
else
|
||||
@ -67,7 +67,7 @@ fi
|
||||
|
||||
exportline2="export PATH=$CWD/$ARDUPILOT_TOOLS:\$PATH";
|
||||
if ! grep -Fxq "$exportline2" ~/.bashrc ; then
|
||||
if prompt_user "Add $CWD/$ARDUPILOT_TOOLS to your PATH [Y/n]?" ; then
|
||||
if prompt_user "Add $CWD/$ARDUPILOT_TOOLS to your PATH [N/y]?" ; then
|
||||
echo "$exportline2" >> ~/.bashrc
|
||||
. ~/.bashrc
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user