use the user's ~/mail directory instead of hardercoded /home/mail - iomenu - interactive terminal-based selection menu
(HTM) git clone git://bitreich.org/iomenu git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/iomenu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4387fdf639b83dd7f0ac7bab26e26c018e1c1d32
(DIR) parent 7e90ef5eb5bebae51da05ea9f5fd0bb8eafaa98d
(HTM) Author: Josuah Demangeon <mail@josuah.net>
Date: Tue, 19 Jun 2018 11:02:09 +0200
use the user's ~/mail directory instead of hardercoded /home/mail
Diffstat:
M bin/io-mblaze | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/io-mblaze b/bin/io-mblaze
@@ -1,7 +1,7 @@
#!/bin/sh -e
# mail client using iomenu, mblaze, to be used with mfilter
-cd /home/mail
+cd "$HOME/mail"
if test "$1" = -a
then IFS=' ' read dir mail <<EOF