mozilla/rr — pull request #1391 by skitt (2014-12-14 15:18:00+00:00)
Title: Support temporary locations other than /tmp

Depending on the value of ${TMPDIR}, mktemp may create files and
folders outside of /tmp. Simply using the basename of mktemp's result
allows the nonce to be determined regardless of the location of the
temporary folder.