1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00

Merge pull request #408 from FledPaul/bug-fix

Uninitialized variable error in check_command function - Fixed
This commit is contained in:
Piero Toffanin 2023-02-25 02:10:03 -05:00 committed by GitHub
commit 17085741c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
run.sh
View File

@ -73,6 +73,9 @@ check_command(){
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"
fi
else
check_msg_prefix="Checking for $1... "
check_msg_result="\033[92m found\033[39m"
fi
echo -e "$check_msg_prefix $check_msg_result"