From: Jameson Graef Rollins Date: Fri, 13 Feb 2009 00:10:12 +0000 (-0500) Subject: fix some calls to gpg_sphere that where not putting all arguments into a single argum... X-Git-Tag: monkeysphere_0.23~100 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=387848dfa7081364094a71ff70f65bb1cbd83d8b;p=monkeysphere.git fix some calls to gpg_sphere that where not putting all arguments into a single argument, as required by the strange su requirements. --- diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication index a33de1e..18057e5 100755 --- a/src/monkeysphere-authentication +++ b/src/monkeysphere-authentication @@ -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" } ######################################################################## diff --git a/src/share/ma/setup b/src/share/ma/setup index e5109fd..216b0b9 100644 --- a/src/share/ma/setup +++ b/src/share/ma/setup @@ -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