aboutsummaryrefslogtreecommitdiff
path: root/gpg-agent-eval
diff options
context:
space:
mode:
Diffstat (limited to 'gpg-agent-eval')
-rwxr-xr-xgpg-agent-eval6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpg-agent-eval b/gpg-agent-eval
index fab7334..76bebe4 100755
--- a/gpg-agent-eval
+++ b/gpg-agent-eval
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Initialize the gpg-agent
#
@@ -7,9 +7,9 @@
GPG_TTY=`tty`
export GPG_TTY
-function gpg_agent_eval_run {
+gpg_agent_eval_run() {
if test -f $HOME/.gpg-agent-info && \
- kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then
+ kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2> /dev/null; then
GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info`
export GPG_AGENT_INFO
else