From 79b2031b3197aa5394a5fa2b88972f136404deec Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Wed, 27 Oct 2021 17:24:00 -0400 Subject: [PATCH] Update Birders_Guide_Installer.sh --- Birders_Guide_Installer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.sh index 3c6aa12..a0f12dd 100755 --- a/Birders_Guide_Installer.sh +++ b/Birders_Guide_Installer.sh @@ -99,13 +99,13 @@ and set the passwords for the live audio stream. Save the file after editing and then close the Mouse Pad editing window to continue." set -x if [ -z "$SSH_CONNECTION" ];then - editor=mousepad + EDITOR=mousepad else - editor=nano + EDITOR=nano fi env && exit - $editor ${my_dir}/Birders_Guide_Installer_Configuration.txt - while pgrep $editor &> /dev/null;do + $EDITOR ${my_dir}/Birders_Guide_Installer_Configuration.txt + while pgrep $EDITOR &> /dev/null;do sleep 1 done source ${my_dir}/Birders_Guide_Installer_Configuration.txt || exit 1