spencertipping/bash-lambda — pull request #1 by algernon (2012-10-08 13:37:54+00:00)
Title: Use $TMPDIR, if available

Instead of hardcoding /tmp (unless BASH_LAMBDA_HEAP is set), try $TMPDIR first, before falling back to /tmp.

I like to keep my temporary files under my $HOME, in a private (0700) directory, and most programs already respect $TMPDIR, so I thought bash-lambda could do the same - the change is very trivial anyway.