From c8a5622196fa73d724d1e59fd4af5517bb7efcf8 Mon Sep 17 00:00:00 2001 From: Luke Sampson Date: Mon, 31 Jul 2017 14:23:50 +1000 Subject: [PATCH] Fix 'Access denied' error on current directory when resetting. --- lib/install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/install.ps1 b/lib/install.ps1 index 182e9540..9e3fe7a7 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -723,6 +723,7 @@ function link_current($versiondir) { if(test-path $currentdir) { # remove the junction + attrib -R /L $currentdir cmd /c rmdir $currentdir }