diff --git a/windows/cygwin.ps1 b/windows/cygwin.ps1 index fed8f834..b7539b3b 100755 --- a/windows/cygwin.ps1 +++ b/windows/cygwin.ps1 @@ -51,8 +51,8 @@ try { Invoke-WebRequest ${URL}/${Setup}.sig ` -OutFile ${Cygwin}\${Setup}.sig } - & $GPG --options $GpgHome --debug-all --list-keys - & $GPG --options $GpgHome --debug-all --quiet --no-default-keyring ` + & $GPG --homedir $GpgHome --debug-all --list-keys + & $GPG --homedir $GpgHome --debug-all --quiet --no-default-keyring ` --keyring ${PSScriptRoot}/cygwin.gpg ` --verify ${Cygwin}\${Setup}.sig ${Cygwin}\${Setup} if ($LastExitCode -ne 0) {