diff options
author | codesoap <codesoap@mailbox.org> | 2019-02-03 19:22:20 +0100 |
---|---|---|
committer | Leah Neukirchen <chneukirchen@gmail.com> | 2019-02-03 19:57:14 +0100 |
commit | 5bd1ef9cffc0a6dc0178277dfca3367c1c25895d (patch) | |
tree | b1724e5ecfb87953205ecd2dfd49a927be69a3a7 /contrib | |
parent | 1dd341508579051453f7663bdacd43a321b33075 (diff) | |
download | mblaze-5bd1ef9cffc0a6dc0178277dfca3367c1c25895d.tar.gz mblaze-5bd1ef9cffc0a6dc0178277dfca3367c1c25895d.tar.xz mblaze-5bd1ef9cffc0a6dc0178277dfca3367c1c25895d.zip |
contrib/mencrypt: Quote variables whenever possible
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/mencrypt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/mencrypt b/contrib/mencrypt index 438ca19..10077d6 100755 --- a/contrib/mencrypt +++ b/contrib/mencrypt @@ -15,10 +15,10 @@ trap "rm -rf '$TMPD'" INT TERM EXIT awk '/^$/,0' "$1" | mmime | - gpg2 $key --armor --encrypt --sign $FLAGS -o $TMPD/msg.asc || + gpg2 "$key" --armor --encrypt --sign $FLAGS -o "$TMPD/msg.asc" || exit $? -printf 'Version: 1\n' >$TMPD/version +printf 'Version: 1\n' >"$TMPD/version" { sed '/^$/q' "$1" |