aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-21 20:58:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-21 20:58:19 -0200
commitfc1096fa3696cf31ea9fbb23ba22d67e1599684e (patch)
tree6e41ae3e636444457747632635bf95df4c5f2907
parent69d06aaef3dc845f45111356b3845938cd08b9f7 (diff)
downloadhydra-fc1096fa3696cf31ea9fbb23ba22d67e1599684e.tar.gz
hydra-fc1096fa3696cf31ea9fbb23ba22d67e1599684e.tar.bz2
Fixing newkeys git add
-rwxr-xr-xshare/hydra/newkeys2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys
index dee5699..56f9b5b 100755
--- a/share/hydra/newkeys
+++ b/share/hydra/newkeys
@@ -15,7 +15,7 @@ function hydra_newkeys {
keyringer $HYDRA genpair gpg $node/gpg/key $host
# Add key into puppet git repository.
- ( cd $PUPPET_KEYS && git add $privkey $pubkey )
+ ( cd $PUPPET_KEYS && git add $(basename $privkey) $(basename $pubkey) )
fi
done
}