Tools: Correct install-prereqs-mac user input text

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2019-01-25 11:00:34 +00:00 committed by Randy Mackay
parent d37df424ab
commit 060f97b8e7

View File

@ -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