about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorleovilok <leovilok@gmail.com>2017-02-17 04:31:05 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2017-02-17 13:53:41 +0100
commitf4a3feb70add8bc9becd490bbac1f335abcdf567 (patch)
treea9c0a8605eebc2a2d6d486415aa49768eb7bcfb2 /mcom
parent2c5072ef5bb51e7e1e0bdd59864c3a99cb45896e (diff)
downloadmblaze-f4a3feb70add8bc9becd490bbac1f335abcdf567.tar.gz
mblaze-f4a3feb70add8bc9becd490bbac1f335abcdf567.tar.xz
mblaze-f4a3feb70add8bc9becd490bbac1f335abcdf567.zip
mblaze: don't make $draft look like a sequence
Make sure $draft look like a file by prefixing it with "./", to avoid errors when we call other programs like msed.
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcom b/mcom
index ebbddbf..82920dd 100755
--- a/mcom
+++ b/mcom
@@ -30,7 +30,7 @@ if [ -z "$outbox" ]; then
 	while [ -f "snd.$i" ]; do
 		i=$((i+1))
 	done
-	draft="snd.$i"
+	draft="./snd.$i"
 	draftmime="./snd.$i.mime"
 else
 	draft="$(true | mdeliver -v -c -XD "$outbox")"