aboutsummaryrefslogtreecommitdiffstats
path: root/.mutt/mutt_bgrun.sh
diff options
context:
space:
mode:
Diffstat (limited to '.mutt/mutt_bgrun.sh')
-rwxr-xr-x.mutt/mutt_bgrun.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.mutt/mutt_bgrun.sh b/.mutt/mutt_bgrun.sh
index 08d5e6b..0b2c651 100755
--- a/.mutt/mutt_bgrun.sh
+++ b/.mutt/mutt_bgrun.sh
@@ -88,7 +88,7 @@ do
shift
done
-file=$1
+file="$1"
# Create a temporary directory for our copy of the temporary file.
#
@@ -99,6 +99,8 @@ tmpdir=/tmp/$LOGNAME$$
umask 077
mkdir "$tmpdir" || exit 1
tmpfile="$tmpdir/${file##*/}"
+#echo "file: ${file}" > ~/debug.$$.log
+#echo "tmpfile: ${tmpfile}" >> ~/debug.$$.log
# Copy mutt's temporary file to our temporary directory so that we can
# let mutt overwrite and delete it when we exit.