diff options
author | Jean Delvare <jdelvare@suse.de> | 2011-12-08 16:34:28 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2011-12-08 17:08:19 +0100 |
commit | 91eae497495be15cf6a6a95101ca37fc027d69af (patch) | |
tree | 1bc90345e489de47efec73489410fbc4588b54f9 | |
parent | 00e551287a23749c7d1b0bc3e25741a5bd360bcd (diff) | |
download | quilt-91eae497495be15cf6a6a95101ca37fc027d69af.tar.gz |
configure*: Honor $TMPDIR if set
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | quilt.changes | 5 |
3 files changed, 7 insertions, 2 deletions
@@ -5805,7 +5805,7 @@ $as_echo "$as_me: WARNING: Using internal mktemp mechanism. Use option '--with- if test -z "$INTERNAL_MKTEMP" ; then { $as_echo "$as_me:$LINENO: checking whether $MKTEMP -d works" >&5 $as_echo_n "checking whether $MKTEMP -d works... " >&6; } - if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ + if tempdir=`$MKTEMP -d ${TMPDIR:-/tmp}/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ rmdir "$tempdir" ; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } diff --git a/configure.ac b/configure.ac index fba5f2c..b5851eb 100644 --- a/configure.ac +++ b/configure.ac @@ -216,7 +216,7 @@ fi QUILT_COMPAT_PROG_PATH(MKTEMP, mktemp) if test -z "$INTERNAL_MKTEMP" ; then AC_MSG_CHECKING(whether $MKTEMP -d works) - if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ + if tempdir=`$MKTEMP -d ${TMPDIR:-/tmp}/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \ rmdir "$tempdir" ; then AC_MSG_RESULT(yes) else diff --git a/quilt.changes b/quilt.changes index 2054e1f..5777db5 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Dec 8 16:32:26 CET 2011 - jdelvare@suse.de + +- configure*: Honor $TMPDIR if set. + +------------------------------------------------------------------- Tue Dec 6 17:44:55 CET 2011 - jdelvare@suse.de - Makefile.in, doc/quilt.1.in: Substitute documentation directory |