summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2010-09-19 12:22:28 -0400
committerJamie McClelland <jm@mayfirst.org>2010-09-19 12:22:28 -0400
commitb5b18cd53354b838fc4ea42fedf88167d443aafe (patch)
treeab08ab58ac243604fbaeb74d2a3d1a08eae4f5eb /share
parent6c132e1fd8b0d33f302a523cf9516a7ef42886f3 (diff)
downloadkeyringer-b5b18cd53354b838fc4ea42fedf88167d443aafe.tar.gz
keyringer-b5b18cd53354b838fc4ea42fedf88167d443aafe.tar.bz2
when staging git changes, use consistent BASEDIR - or else future
function calls will fail with incorrect BASEDIR setting.
Diffstat (limited to 'share')
-rwxr-xr-xshare/keyringer/encrypt2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/keyringer/encrypt b/share/keyringer/encrypt
index adba515..ac2a43e 100755
--- a/share/keyringer/encrypt
+++ b/share/keyringer/encrypt
@@ -17,5 +17,5 @@ gpg --use-agent --armor -e -s $(keyringer_recipients $RECIPIENTS) - > $KEYDIR/$F
# Stage
if [ -d "$BASEDIR/.git" ]; then
- keyringer_exec git $KEYDIR add $FILE
+ keyringer_exec git $BASEDIR add "keys/$FILE"
fi