aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-20 16:50:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-20 16:50:46 -0200
commit0c2968287095adf567f719565627442a6f35ceca (patch)
tree95099e0353434677129d5c6ef84b38532c27b234
parent43ea02433f00575e01c5f0938e6bd0e31412bb2c (diff)
downloadkeyringer-0c2968287095adf567f719565627442a6f35ceca.tar.gz
keyringer-0c2968287095adf567f719565627442a6f35ceca.tar.bz2
Quotes
-rw-r--r--lib/keyringer/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 3f627bd..11d1b86 100644
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -218,7 +218,7 @@ function keyringer_set_env {
function keyringer_check_version {
if [ ! -f "$VERSION_INFO" ]; then
echo "Creating configuration version file..."
- echo 0 > $VERSION_INFO
+ echo 0 > "$VERSION_INFO"
keyringer_exec git "$BASEDIR" add config/version
fi
@@ -305,7 +305,7 @@ store to the spoofed key in addition to your own.
EOF
exit 1
else
- gpg --list-key $recipient &> /dev/null
+ gpg --list-key "$recipient" &> /dev/null
if [ "$?" != "0" ]; then
echo "Fatal: no such key $recipient on your GPG keyring."
echo "Please check for this key or fix the recipient file."