diff options
Diffstat (limited to 'scripts/make_lnk.ps1')
| -rw-r--r-- | scripts/make_lnk.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/make_lnk.ps1 b/scripts/make_lnk.ps1 index 67d7ec2..2939cf3 100644 --- a/scripts/make_lnk.ps1 +++ b/scripts/make_lnk.ps1 @@ -1,4 +1,5 @@ $scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path +$originalLocation = Get-Location Set-Location $scriptDir $deployPs1 = Join-Path $scriptDir "dev\deploy.ps1" @@ -22,3 +23,5 @@ if (Test-Path $devDeployPs1) { $shortcut.TargetPath = $devDeployPs1 $shortcut.Save() } + +Set-Location $originalLocation |
