]> gitweb.fluxo.info Git - keyringer.git/commitdiff
when staging git changes, use consistent BASEDIR - or else future
authorJamie McClelland <jm@mayfirst.org>
Sun, 19 Sep 2010 16:22:28 +0000 (12:22 -0400)
committerJamie McClelland <jm@mayfirst.org>
Sun, 19 Sep 2010 16:22:28 +0000 (12:22 -0400)
function calls will fail with incorrect BASEDIR setting.

share/keyringer/encrypt

index adba515bcf8d7dab07abc4fee18096a6f7f0a29c..ac2a43ee4c4f812fbc6971e8d737a039fa40044e 100755 (executable)
@@ -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