From: Peter Kümmel Date: Tue, 6 Dec 2011 20:23:26 +0000 (+0000) Subject: cmake: remember path X-Git-Tag: 2.1.0beta1~2260 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=15bf2b58aa823c76bd6961d84fc8fa8bac393479;p=lyx.git cmake: remember path git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40399 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/build.bat b/development/cmake/build.bat index 2f466aeb48..96ff879197 100755 --- a/development/cmake/build.bat +++ b/development/cmake/build.bat @@ -28,6 +28,10 @@ if [%1]==[] ( goto :eof ) +REM Save path +set CALLED_FROM=%CD% + + REM Add path to qmake here or set PATH correctly on your system. set PATH="D:\Qt\bin";%PATH% @@ -86,7 +90,7 @@ if "%1%" == "install" ( msbuild INSTALL.vcxproj /p:Configuration=Release ) -REM Edit the path according to your system. -cd "%LYX_SOURCE%\development\cmake" +REM go back to the dir where the script was called from +cd /D %CALLED_FROM% :eof