View | Details | Raw Unified | Return to bug 199666
Collapse All | Expand All

(-)duply.orig (-1 / +1 lines)
Lines 1250-1256 Link Here
1250
      if [ ! -f "$FILE" ] && eval gpg_$(tolower $KEY_TYPE)_avail $KEY_ID; then
1250
      if [ ! -f "$FILE" ] && eval gpg_$(tolower $KEY_TYPE)_avail $KEY_ID; then
1251
        # exporting
1251
        # exporting
1252
        CMD_MSG="Export $KEY_TYPE key $KEY_ID"
1252
        CMD_MSG="Export $KEY_TYPE key $KEY_ID"
1253
        run_cmd $(gpg_pass_pipein GPG_PW) "$GPG" $GPG_OPTS --passphrase-fd 0 --armor --export"$(test "SEC" = "$KEY_TYPE" && echo -secret-keys)"" $KEY_ID >> \"$TMPFILE\""
1253
        run_cmd $GPG $GPG_OPTS --armor --export"$(test "SEC" = "$KEY_TYPE" && echo -secret-keys)"" $KEY_ID >> \"$TMPFILE\""
1254
1254
1255
        if [ "$CMD_ERR" = "0" ]; then
1255
        if [ "$CMD_ERR" = "0" ]; then
1256
          CMD_MSG="Write file '"$(basename "$FILE")"'"
1256
          CMD_MSG="Write file '"$(basename "$FILE")"'"

Return to bug 199666