Skip to content

Commit e40f0ed

Browse files
committed
[bug fix] confusing error messages
1 parent 9f6f82d commit e40f0ed

6 files changed

Lines changed: 5 additions & 7 deletions

File tree

tools/data-management/export-data.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ goto :eof
5252
:confirmJre
5353
where java >nul 2>&1 || (
5454
echo [ %hostScript% ][ ERROR ] can't find JRE ^(Java Runtime Environment^)^!
55-
echo ^( Downlaod and install JRE from Oracle unless you haven't ^)
55+
echo ^( Downlaod and install JRE from Oracle ^)
5656
exit /b 1
5757
)
5858
exit /b 0

tools/data-management/import-data.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ goto :eof
5252
:confirmJre
5353
where java >nul 2>&1 || (
5454
echo [ %hostScript% ][ ERROR ] can't find JRE ^(Java Runtime Environment^)^!
55-
echo ^( Downlaod and install JRE from Oracle unless you haven't ^)
55+
echo ^( Downlaod and install JRE from Oracle ^)
5656
exit /b 1
5757
)
5858
exit /b 0

tools/run/civilizer-win32.au3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
_RunDos("java -version || (echo. >JreNotFound)")
77
If FileExists("JreNotFound") Then
88
FileDelete("JreNotFound")
9-
MsgBox($MB_SYSTEMMODAL, "civilizer-win32.exe ERROR", "Can't find JRE (Java Runtime Environment)!" & @CRLF & "Download and install JRE from Oracle unless you haven't")
9+
MsgBox($MB_SYSTEMMODAL, "civilizer-win32.exe ERROR", "Can't find JRE (Java Runtime Environment)!" & @CRLF & "Download and install JRE from Oracle")
1010
Exit(1)
1111
EndIf
1212

tools/run/civilizer-win32.exe

0 Bytes
Binary file not shown.

tools/run/run-civilizer.bat

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
@echo off
22

3-
rem HideSelf
4-
53
setlocal EnableDelayedExpansion
64

75
set hostScript=%~nx0
@@ -58,7 +56,7 @@ goto :eof
5856
:confirmJre
5957
where java >nul 2>&1 || (
6058
echo [ %hostScript% ][ ERROR ] can't find JRE ^(Java Runtime Environment^)^!
61-
echo ^( Downlaod and install JRE from Oracle unless you haven't ^)
59+
echo ^( Downlaod and install JRE from Oracle ^)
6260
exit /b 1
6361
)
6462
exit /b 0

tools/shell-utils/commons.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ versionAllowed() {
118118
confirmJre() {
119119
type java > /dev/null 2>&1 || {
120120
printf "[ %s ][ %s ] Can't find JRE (Java Runtime Environment)!\n" "$hostScript" "$(echolor $bold $magenta ERROR)"
121-
printf "\t( Downlaod and install JRE from Oracle unless you haven't )\n"
121+
printf "\t( Downlaod and install JRE from Oracle )\n"
122122
exit 1
123123
}
124124

0 commit comments

Comments
 (0)