From fa5c820fbeb2e4dcb22b729a354534cc6b35ce2c Mon Sep 17 00:00:00 2001 From: nmlgc Date: Thu, 13 Jun 2024 00:04:50 +0200 Subject: [PATCH] [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. --- build.bat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index 945cff26..8f43bc2f 100755 --- a/build.bat +++ b/build.bat @@ -100,7 +100,7 @@ goto success :no_tasm32 echo Could not find TASM32. echo Please make sure that the BIN directory of Turbo Assembler 5.0 is in your PATH. -goto eof +goto path :no_tcc echo Could not find TCC. @@ -110,6 +110,10 @@ echo Could not find TLINK. goto tc4j_bin :tc4j_bin 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 :success