public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] emacs r1145 - emacs-updater
@ 2008-10-31 15:37 99% Christian Faulhammer (opfer)
  0 siblings, 0 replies; 1+ results
From: Christian Faulhammer (opfer) @ 2008-10-31 15:37 UTC (permalink / raw
  To: gentoo-commits

Author: opfer
Date: 2008-10-31 15:37:07 +0000 (Fri, 31 Oct 2008)
New Revision: 1145

Modified:
   emacs-updater/emacs-updater
Log:
mktemp is able to use TMPDIR variable all by itself


Modified: emacs-updater/emacs-updater
===================================================================
--- emacs-updater/emacs-updater	2008-10-31 15:28:21 UTC (rev 1144)
+++ emacs-updater/emacs-updater	2008-10-31 15:37:07 UTC (rev 1145)
@@ -204,8 +204,8 @@
 
 trap cleanup EXIT
 
-TMPFILE="$(mktemp ${TMPDIR:-/tmp}/emacs-updater.files.XXXXXX)"
-PKGFILE="$(mktemp ${TMPDIR:-/tmp}/emacs-updater.pkgs.XXXXXX)"
+TMPFILE=$(mktemp --tmpdir emacs-updater.files.XXXXXX)
+PKGFILE=$(mktemp --tmpdir emacs-updater.pkgs.XXXXXX)
 
 for action in ${ACTIONS}; do
     action_${action}




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-10-31 15:37 99% [gentoo-commits] emacs r1145 - emacs-updater Christian Faulhammer (opfer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox