aboutsummaryrefslogtreecommitdiff
path: root/contrib/warn_summary
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/warn_summary')
-rwxr-xr-xcontrib/warn_summary2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/warn_summary b/contrib/warn_summary
index ccdb33a1117..d4c8b6cdb19 100755
--- a/contrib/warn_summary
+++ b/contrib/warn_summary
@@ -138,7 +138,7 @@ s%^[^ ]*/\(lib[a-z23+-]*/\)%\1%;'
usage="usage: `basename $0` [-llf] [-s stage] [-nosub|-ch|-cp|-f|-fortran|-ada|-intl|-fixinc] [-pass|-wpass] [file(s)]"
stageN=3
-tmpfile=/tmp/tmp-warn.$$
+tmpfile=${TMPDIR:-/tmp}/tmp-warn.$$
# Remove $tmpfile on exit and various signals.
trap "rm -f $tmpfile" 0