From 5c3ec72ee2c2f5a0d6d942b0998ba8cc3369f608 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 12 Sep 2008 02:19:28 -0400 Subject: making invocations of mktemp portable (FreeBSD does not have a default value for the [template] arg --- utils/build-releasenote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/build-releasenote b/utils/build-releasenote index af7ceb3..1b832a4 100755 --- a/utils/build-releasenote +++ b/utils/build-releasenote @@ -25,7 +25,7 @@ checksums() { checksums -temprelease=$(mktemp) +temprelease=$(mktemp ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX) trap "rm -f $temprelease" EXIT set -e head -n$(( $(grep -n '^-----BEGIN PGP SIGNED MESSAGE-----$' website/download.mdwn | head -n1 | cut -f1 -d:) - 1 )) website/download.mdwn >$temprelease -- cgit v1.2.3