mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-04 22:36:35 +00:00
Uninitialized variable error in check_command function - Fixed
This commit is contained in:
parent
5efbd6c7f7
commit
359d31792d
1 changed files with 3 additions and 0 deletions
3
run.sh
3
run.sh
|
@ -73,6 +73,9 @@ check_command(){
|
||||||
else
|
else
|
||||||
check_msg_result="\033[91m can't find $1! Check that the program is installed and that you have added the proper path to the program to your PATH environment variable before launching the program. If you change your PATH environment variable, remember to close and reopen your terminal. $2\033[39m"
|
check_msg_result="\033[91m can't find $1! Check that the program is installed and that you have added the proper path to the program to your PATH environment variable before launching the program. If you change your PATH environment variable, remember to close and reopen your terminal. $2\033[39m"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
check_msg_prefix="Checking for $1... "
|
||||||
|
check_msg_result="\033[92m found\033[39m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "$check_msg_prefix $check_msg_result"
|
echo -e "$check_msg_prefix $check_msg_result"
|
||||||
|
|
Loading…
Reference in a new issue