From de0834511088db28460ae0c0d4ae41a541936557 Mon Sep 17 00:00:00 2001 From: yowl00 Date: Tue, 21 May 2024 09:52:02 +0100 Subject: [PATCH] set cmakepath only. --- eng/pipelines/runtimelab/set-cmake-path.cmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/runtimelab/set-cmake-path.cmd b/eng/pipelines/runtimelab/set-cmake-path.cmd index 205e1c7b317..52d1753a88e 100644 --- a/eng/pipelines/runtimelab/set-cmake-path.cmd +++ b/eng/pipelines/runtimelab/set-cmake-path.cmd @@ -1,7 +1,8 @@ +set OLD_PATH=%PATH% call "%RepoRoot%eng\native\init-vs-env.cmd" wasm || exit /b 1 call set CMakeDir=%%CMakePath:\cmake.exe=%% echo CMakeDir is %CMakeDir% -echo Setting PATH to %PATH%;%CMakeDir% -echo ##vso[task.setvariable variable=PATH]%PATH%;%CMakeDir% +echo Setting PATH to %OLD_PATH%;%CMakeDir% +echo ##vso[task.setvariable variable=PATH]%OLD_PATH%;%CMakeDir%