diff options
-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 |