From dcba21dedd726f6a8e0f7845198cef47af0660dc Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 5 Sep 2012 16:07:35 +0300 Subject: [PATCH] build.bat: use pushd/popd which makes changing dirs easier --- build.bat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.bat b/build.bat index 326e1a7d2..79a85b8a7 100644 --- a/build.bat +++ b/build.bat @@ -38,26 +38,26 @@ if "%1" == "all" goto cppcheck goto help :cppcheck -cd cli +pushd cli qmake -config %TARGET% HAVE_RULES=%HAVE_RULES% %MAKE% -cd .. +popd if "%1" == "all" goto gui goto end :gui -cd gui +pushd gui qmake -config %TARGET% HAVE_RULES=%HAVE_RULES% %MAKE% lrelease gui.pro -cd .. +popd goto end :tests -cd test +pushd test qmake -config %TARGET% HAVE_RULES=%HAVE_RULES% %MAKE% -cd .. +popd goto end :help