fix some calls to gpg_sphere that where not putting all arguments into a single argum...
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 13 Feb 2009 00:10:12 +0000 (19:10 -0500)
committerJameson Graef Rollins <jrollins@finestructure.net>
Fri, 13 Feb 2009 00:10:12 +0000 (19:10 -0500)
src/monkeysphere-authentication
src/share/ma/setup

index a33de1e56b41e0b3a302a68a0644a81ae8a5ba00..18057e5e32587a48d40c1c20683e65f746424e52 100755 (executable)
@@ -101,7 +101,7 @@ core_fingerprint() {
 gpg_core_sphere_sig_transfer() {
     log debug "exporting core local sigs to sphere..."
     gpg_core --export-options export-local-sigs --export | \
-       gpg_sphere --import-options import-local-sigs --import
+       gpg_sphere "--import-options import-local-sigs --import"
 }
 
 ########################################################################
index e5109fd4ca1b7c1e6aa1482c5b3bceec2da9b2c7..216b0b903f4208293b9afc010a9c6e5812a759eb 100644 (file)
@@ -98,7 +98,7 @@ EOF
     # our preferences are reasonable (i.e. 3 marginal OR 1 fully
     # trusted certifications are sufficient to grant full validity.
     log debug "checking trust level of core key..."
-    local TRUST_LEVEL=$(gpg_sphere --with-colons --fixed-list-mode --list-keys \
+    local TRUST_LEVEL=$(gpg_sphere "--with-colons --fixed-list-mode --list-keys" \
        | head -n1 | grep "^tru:" | cut -d: -f3,6,7)
     log debug "sphere trust level of core: $TRUST_LEVEL"
     if [ "$TRUST_LEVEL" != '1:3:1' ] ; then