
here is the part of the /usr/bin/packer that I think is relevant:
$this->bbcode_second_pass_code('', '
# set tmpfile stuff, clean tmpdir
tmpdir="${TMPDIR:-/tmp}/packertmp-$UID"
rm -rf "$tmpdir" &>/dev/null
mkdir -p "$tmpdir"
')
I tried changing the 2nd line to ...
$this->bbcode_second_pass_code('', 'tmpdir="${TMPDIR:-/home/m147/.tmp}/packertmp-$UID"')
and
$this->bbcode_second_pass_code('', 'tmpdir="${TMPDIR:-~/.tmp}/packertmp-$UID"')
but neither seems to work. What am I doing wrong? Thank you.