1 |
Author: opfer |
2 |
Date: 2008-10-31 15:37:07 +0000 (Fri, 31 Oct 2008) |
3 |
New Revision: 1145 |
4 |
|
5 |
Modified: |
6 |
emacs-updater/emacs-updater |
7 |
Log: |
8 |
mktemp is able to use TMPDIR variable all by itself |
9 |
|
10 |
|
11 |
Modified: emacs-updater/emacs-updater |
12 |
=================================================================== |
13 |
--- emacs-updater/emacs-updater 2008-10-31 15:28:21 UTC (rev 1144) |
14 |
+++ emacs-updater/emacs-updater 2008-10-31 15:37:07 UTC (rev 1145) |
15 |
@@ -204,8 +204,8 @@ |
16 |
|
17 |
trap cleanup EXIT |
18 |
|
19 |
-TMPFILE="$(mktemp ${TMPDIR:-/tmp}/emacs-updater.files.XXXXXX)" |
20 |
-PKGFILE="$(mktemp ${TMPDIR:-/tmp}/emacs-updater.pkgs.XXXXXX)" |
21 |
+TMPFILE=$(mktemp --tmpdir emacs-updater.files.XXXXXX) |
22 |
+PKGFILE=$(mktemp --tmpdir emacs-updater.pkgs.XXXXXX) |
23 |
|
24 |
for action in ${ACTIONS}; do |
25 |
action_${action} |