Browse Source

Tools: Correct install-prereqs-mac user input text

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
mission-4.1.18
Patrick José Pereira 6 years ago committed by Randy Mackay
parent
commit
060f97b8e7
  1. 2
      Tools/scripts/install-prereqs-mac.sh

2
Tools/scripts/install-prereqs-mac.sh

@ -34,7 +34,7 @@ ARDUPILOT_TOOLS="Tools/autotest" @@ -34,7 +34,7 @@ ARDUPILOT_TOOLS="Tools/autotest"
exportline="export PATH=$ARDUPILOT_ROOT/$ARDUPILOT_TOOLS:\$PATH";
grep -Fxq "$exportline" ~/.profile 2>/dev/null || {
read -p "Add $ARDUPILOT_ROOT/$ARDUPILOT_TOOLS to your PATH [Y/n]?" -n 1 -r
read -p "Add $ARDUPILOT_ROOT/$ARDUPILOT_TOOLS to your PATH [N/y]?" -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]] ; then
echo $exportline >> ~/.profile
eval $exportline

Loading…
Cancel
Save