diff --git a/getpunk.cmd b/getpunk.cmd index 34c07761..460b18ff 100644 --- a/getpunk.cmd +++ b/getpunk.cmd @@ -1024,7 +1024,7 @@ if (($launchdir.Path) -eq ($scriptfolder.Path)) { } } git pull $git_upstream master -git checkout $scriptroot.cmd +git checkout "${scriptroot}.cmd" git branch --set-upstream-to=origin/master master Set-Location $launchdir #restore original CWD diff --git a/src/scriptapps/getpunk.ps1 b/src/scriptapps/getpunk.ps1 index 3724dff9..4fc4a0ae 100644 --- a/src/scriptapps/getpunk.ps1 +++ b/src/scriptapps/getpunk.ps1 @@ -115,7 +115,7 @@ if (($launchdir.Path) -eq ($scriptfolder.Path)) { } } git pull $git_upstream master -git checkout $scriptroot.cmd +git checkout "${scriptroot}.cmd" git branch --set-upstream-to=origin/master master Set-Location $launchdir #restore original CWD