From 878b4846962c9a2cb504e50a7cf31481b82e50a9 Mon Sep 17 00:00:00 2001 From: iFuSiiOnzZ Date: Wed, 31 Oct 2018 12:16:59 +0100 Subject: [PATCH] Fix pushd path for windows --- Util/InstallersWin/install_rpclib.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Util/InstallersWin/install_rpclib.bat b/Util/InstallersWin/install_rpclib.bat index 6ea8e3376..d7e82c115 100644 --- a/Util/InstallersWin/install_rpclib.bat +++ b/Util/InstallersWin/install_rpclib.bat @@ -40,6 +40,8 @@ set RPC_INSTALL=rpclib-install set RPC_INSTALL_DIR=%BUILD_DIR%%RPC_INSTALL%\ set RPC_BUILD_DIR=%RPC_SRC_DIR%build +set PUSHD_RPC=%RPC_SRC_DIR:\=/% + if exist "%RPC_INSTALL_DIR%" ( goto already_build ) @@ -49,7 +51,7 @@ if not exist "%RPC_SRC_DIR%" ( call git clone https://github.com/rpclib/rpclib.git %RPC_SRC_DIR% if %errorlevel% neq 0 goto error_git - pushd %RPC_SRC_DIR% + pushd %PUSHD_RPC% call git reset --hard d1146b7 popd ) else (