Yes this is a genuine bug, probably from when I moved some code around..s243a wrote:I noticed an error that is causing double slashes.
the variable whoami isn't defined until line 100/usr/sbin/pkg#L100Code: Select all
whoami=$(whoami)
but this variable is used to define the tmp directory on line 40 before this variable is set:/usr/sbin/pkg#L40Code: Select all
TMPDIR=/tmp/pkg/${whoami} # set the tmp dir
It causes stuff to be written into /tmp/pkg/ instead of /tmp/pkg/root/ ... or something like that .. not fatal, but will fix it anyway..