๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
35
fork

Configure Feed

Select the types of activity you want to include in your feed.

[#16] fix/ignore various shellcheck issues

Ducky 4f23e164 e49b687b

+4 -3
+4 -3
src/commands/old_cmds.sh
··· 766 766 atfile.say.debug "Uploading blob...\nโ†ณ Ref: $(echo "$blob" | jq -r ".ref.\"\$link\"")" 767 767 768 768 if [[ -z "$error" ]]; then 769 + # shellcheck disable=SC2154 769 770 file_record="$(blue.zio.atfile.upload "$blob" "$_now" "$file_hash_checksum" "$file_hash_type" "$file_date" "$file_name" "$file_size" "$file_type" "$file_meta_record" "$file_finger_record")" 770 771 771 772 if [[ -n "$key" ]]; then ··· 786 787 787 788 if [[ -z "$error" ]]; then 788 789 unset recipient_key 789 - blob_uri="$(atfile.util.build_blob_uri "$(echo $record | jq -r ".uri" | cut -d "/" -f 3)" "$(echo $blob | jq -r ".ref.\"\$link\"")")" 790 - key="$(atfile.util.get_rkey_from_at_uri "$(echo $record | jq -r ".uri")")" 790 + blob_uri="$(atfile.util.build_blob_uri "$(echo "$record" | jq -r ".uri" | cut -d "/" -f 3)" "$(echo $blob | jq -r ".ref.\"\$link\"")")" 791 + key="$(atfile.util.get_rkey_from_at_uri "$(echo "$record" | jq -r ".uri")")" 791 792 792 793 if [[ -n "$recipient" ]]; then 793 - recipient_key="$(gpg --list-keys $recipient | sed -n 2p | xargs)" 794 + recipient_key="$(gpg --list-keys "$recipient" | sed -n 2p | xargs)" 794 795 fi 795 796 796 797 if [[ $_output_json == 1 ]]; then