No need to call an external program.

This commit is contained in:
obrien 2013-03-13 22:50:14 +00:00
parent 128300f78f
commit 2f53ec82f9

View File

@ -42,8 +42,7 @@ case "$@" in
shift
esac
basename=$(basename "$0")
tmp=$(mktemp -d "${TMPDIR:-/tmp}/$basename.XXXXXXXXXX") || exit 2
tmp=$(mktemp -d "${TMPDIR:-/tmp}/${0##*/}.XXXXXXXXXX") || exit 2
trap 'rm -r "$tmp" || exit 2' EXIT
export LC_ALL=C