m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/platform/cygwin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/cygwin.sh b/src/platform/cygwin.sh
index b7339f4..6e5dd86 100644
--- a/src/platform/cygwin.sh
+++ b/src/platform/cygwin.sh
@@ -35,7 +35,7 @@ gpg_winpath() {
$GPG_ORIG "${args[@]}"
}
-if $GPG --help | grep -q Gpg4win; then
+if $GPG --help | grep -q 'Home: [A-Z]:[/\\]'; then
GPG_ORIG="$GPG"
GPG=gpg_winpath
fi