]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Quotes
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Nov 2010 18:50:46 +0000 (16:50 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Nov 2010 18:50:46 +0000 (16:50 -0200)
lib/keyringer/functions

index 3f627bda14491d37c0ebace20cfc2c0982e40a92..11d1b86b45ab2990523939eef98a93d7e5c79ef0 100644 (file)
@@ -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."