about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorcodesoap <codesoap@mailbox.org>2019-02-03 19:22:20 +0100
committerLeah Neukirchen <chneukirchen@gmail.com>2019-02-03 19:57:14 +0100
commit5bd1ef9cffc0a6dc0178277dfca3367c1c25895d (patch)
treeb1724e5ecfb87953205ecd2dfd49a927be69a3a7 /contrib
parent1dd341508579051453f7663bdacd43a321b33075 (diff)
downloadmblaze-5bd1ef9cffc0a6dc0178277dfca3367c1c25895d.tar.gz
mblaze-5bd1ef9cffc0a6dc0178277dfca3367c1c25895d.tar.xz
mblaze-5bd1ef9cffc0a6dc0178277dfca3367c1c25895d.zip
contrib/mencrypt: Quote variables whenever possible
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/mencrypt4
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"