about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJames Rowe <jnrowe@gmail.com>2020-10-08 11:25:45 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-10-08 14:27:20 +0200
commit0180f649d20eac18bf5bcb8e95cbfcea316d0b51 (patch)
treefea5f57bd6d6db1ffd7056f4c590fbaead1da430
parent02e4cf40018714501c99cbe1a0ce5280be53500a (diff)
downloadmblaze-0180f649d20eac18bf5bcb8e95cbfcea316d0b51.tar.gz
mblaze-0180f649d20eac18bf5bcb8e95cbfcea316d0b51.tar.xz
mblaze-0180f649d20eac18bf5bcb8e95cbfcea316d0b51.zip
mcom: allow tilde prefixed path for profile's outbox setting
Closes: #187 [via git-merge-pr]
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcom b/mcom
index a1a1f90..7bb3ce6 100755
--- a/mcom
+++ b/mcom
@@ -231,7 +231,7 @@ esac
 
 hdrs="$(printf '%s\n' "${hdrs#$NL}" | mhdr -)"
 
-outbox=$(mhdr -h outbox "$MBLAZE/profile")
+outbox=$(mhdr -h outbox "$MBLAZE/profile" | sed "s:^~/:$HOME/:")
 if [ -z "$outbox" ]; then
 	if [ -z "$resume" ]; then
 		i=0