win: fixed rebuild.

This commit is contained in:
Shuai Lin 2016-12-15 16:45:36 +08:00
parent 94f91ccd4d
commit 531d5e477a

View file

@ -461,7 +461,7 @@ function do_rebuild() {
err_and_quit "failed to update"
}
Start-Process -NoNewWindow -FilePath $script:MyInvocation.ScriptName -ArgumentList $script:args
Start-Process -NoNewWindow -FilePath $script:MyInvocation.MyCommand -ArgumentList $script:args
exit 0
} elseif ($REMOTE.Equals($BASE)) {