From e4d9034fbc2ab7f3a0132dccdcf44a751fb8a048 Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Wed, 11 Nov 2015 12:51:24 +0100 Subject: [PATCH] corrected replacement of last backslash --- windows/win_share.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_share.ps1 b/windows/win_share.ps1 index 86970f88d39..f409281711e 100644 --- a/windows/win_share.ps1 +++ b/windows/win_share.ps1 @@ -145,7 +145,7 @@ Try { } # normalize path and remove slash at the end - $path = (Get-Item $path).FullName -replace ".$" + $path = (Get-Item $path).FullName -replace "\\$" # need to (re-)create share If (!$share) {