Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] emacs r1146 - emacs-updater
Date: Sat, 01 Nov 2008 17:51:57
Message-Id: E1KwKdd-0001J0-A1@stork.gentoo.org
1 Author: ulm
2 Date: 2008-11-01 17:51:53 +0000 (Sat, 01 Nov 2008)
3 New Revision: 1146
4
5 Modified:
6 emacs-updater/emacs-updater
7 Log:
8 mktemp has no option --tmpdir in FreeBSD.
9
10 Modified: emacs-updater/emacs-updater
11 ===================================================================
12 --- emacs-updater/emacs-updater 2008-10-31 15:37:07 UTC (rev 1145)
13 +++ emacs-updater/emacs-updater 2008-11-01 17:51:53 UTC (rev 1146)
14 @@ -204,8 +204,8 @@
15
16 trap cleanup EXIT
17
18 -TMPFILE=$(mktemp --tmpdir emacs-updater.files.XXXXXX)
19 -PKGFILE=$(mktemp --tmpdir emacs-updater.pkgs.XXXXXX)
20 +TMPFILE="$(mktemp ${TMPDIR:-/tmp}/emacs-updater.files.XXXXXX)"
21 +PKGFILE="$(mktemp ${TMPDIR:-/tmp}/emacs-updater.pkgs.XXXXXX)"
22
23 for action in ${ACTIONS}; do
24 action_${action}