From 59bbdaddc75ebfb9225c7b769462ad93ea29388a Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 4 Sep 2022 09:16:39 -0400 Subject: [PATCH] Cleanup --- .gitignore | 1 + CHANGELOG.md | 2 +- vendor/lib/lib_path.cmd | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3431088..5ce4390 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ Version v* .github_changelog_generator launcher/.vs launcher/src/version.rc2 +.vs/* diff --git a/CHANGELOG.md b/CHANGELOG.md index 62d5a6d..8cce8c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [Unreleased](https://ci.appveyor.com/project/MartiUK/cmder/build/artifacts) (2022-03-17) +## [1.3.20-unreleased](https://ci.appveyor.com/project/MartiUK/cmder/build/artifacts) (2022-03-17) ### Changes diff --git a/vendor/lib/lib_path.cmd b/vendor/lib/lib_path.cmd index 281839a..6e05aad 100644 --- a/vendor/lib/lib_path.cmd +++ b/vendor/lib/lib_path.cmd @@ -121,11 +121,11 @@ exit /b exit /b :toolong - echo "%OLD_PATH%">"%temp%\tempfileA" - echo "%PATH%">"%temp%\tempfileB" - fc /b "%temp%\tempfileA" "%temp%\tempfileB" 2>nul 1>nul - if errorlevel 1 ( del "%temp%\tempfileA" & del "%temp%\tempfileB" & goto :changed ) - del "%temp%\tempfileA" & del "%temp%\tempfileB" + echo "%OLD_PATH%">"%temp%\cmder_lib_pathA" + echo "%PATH%">"%temp%\cmder_lib_pathB" + fc /b "%temp%\cmder_lib_pathA" "%temp%\cmder_lib_pathB" 2>nul 1>nul + if errorlevel 1 ( del "%temp%\cmder_lib_pathA" & del "%temp%\cmder_lib_pathB" & goto :changed ) + del "%temp%\cmder_lib_pathA" & del "%temp%\cmder_lib_pathB" exit /b :changed