[Build] Display the current PATH if a tool can't be found

Especially helpful on Linux where there's the Linux-native `PATH`, the
completely unrelated `PATH` inside Wine, and `WINEPATH` to prefill the
latter from the former.

Part of P0284, funded by [Anonymous] and Blue Bolt.
This commit is contained in:
nmlgc 2024-06-13 00:04:50 +02:00
parent 62bd5b127c
commit fa5c820fbe
1 changed files with 5 additions and 1 deletions

View File

@ -100,7 +100,7 @@ goto success
:no_tasm32 :no_tasm32
echo Could not find TASM32. echo Could not find TASM32.
echo Please make sure that the BIN directory of Turbo Assembler 5.0 is in your PATH. echo Please make sure that the BIN directory of Turbo Assembler 5.0 is in your PATH.
goto eof goto path
:no_tcc :no_tcc
echo Could not find TCC. echo Could not find TCC.
@ -110,6 +110,10 @@ echo Could not find TLINK.
goto tc4j_bin goto tc4j_bin
:tc4j_bin :tc4j_bin
echo Please make sure that the BIN directory of Turbo C++ 4.0J is in your PATH. echo Please make sure that the BIN directory of Turbo C++ 4.0J is in your PATH.
goto path
:path
echo (Current PATH: `%PATH%`)
goto eof goto eof
:success :success