aboutsummaryrefslogtreecommitdiff
path: root/bin/pinentry-auto
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pinentry-auto')
-rwxr-xr-xbin/pinentry-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/pinentry-auto b/bin/pinentry-auto
new file mode 100755
index 0000000..a3b141f
--- /dev/null
+++ b/bin/pinentry-auto
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+if [[ $(uname) == Darwin ]]; then
+ exec pinentry-mac "$@"
+fi
+
+exec pinentry "$@"