Update cyg-get

Update cyg-get to be able to run straight after installing cyg-get, if you don't close and reopen Powershell after installing cyg-get (spawning a new Powershell within doesn't work), cyg-get doesn't work. This will make cyg-get find the cygwinsetup.exe without restarting Powershell.
Good point. That would probably be the easiest course of action, just
adding a push and pop.

On Wed, Nov 5, 2014 at 12:48 AM, Rob Reynolds <notifications@github.com>
wrote:

> In packages/cyg-get/tools/cyg-get.ps1:
>
> > @@ -10,6 +10,7 @@ elseif ($package -eq '-help' -or $package -eq '/?') {
> >  }
> >  else {
> >    try {
> > +    Set-Location -Path (Get-ItemProperty HKLM:\SOFTWARE\Cygwin\setup -Name rootdir).rootdir
>
> @RyanCarrier <https://github.com/RyanCarrier> I am more concerned about
> the path the user is sitting on at the completion of the command. If it
> switches the path to somewhere else without putting it back at the
> completion, that could be a little surprising and irritating for users.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/chocolatey/chocolatey-coreteampackages/pull/21/files#r19806249>
> .
>