commit af3b815c91a35cc8a6054bba64ceb1f4a71b9649
parent a619988f7986d72f4e0ac7256ce48596df6a2a34
Author: Lorenz Weber <mail@lenzw.de>
Date: Mon, 11 May 2015 12:59:18 +0200
enhance winpath detection: gpg --help will have a line like this: Home: C:\.....
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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