From 0a2692fb2249e259fc42539822743a6c0a4ae5f8 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 23 May 2007 23:32:42 +0000 Subject: [PATCH] check for setup.h git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5155 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/NSIS Menu/wx/wxbuild.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Contrib/NSIS Menu/wx/wxbuild.bat b/Contrib/NSIS Menu/wx/wxbuild.bat index 23282373..0c29e84f 100644 --- a/Contrib/NSIS Menu/wx/wxbuild.bat +++ b/Contrib/NSIS Menu/wx/wxbuild.bat @@ -1,3 +1,4 @@ +if not exist setup.h goto setup_error if not exist "%WXWIN%\build\msw\makefile.vc" goto error set OLDCD=%CD% cd /D "%WXWIN%\build\msw" @@ -11,4 +12,7 @@ cd /D "%OLDCD%" goto done :error echo WXWIN is not properly set +goto done +:setup_error +echo setup.h cannot be found, wrong working directory? :done