From: Rob Browning Date: Sun, 18 Aug 2019 17:26:22 +0000 (-0500) Subject: configure.inc: name the tmpdir with a configure- prefix X-Git-Tag: 0.30~17 X-Git-Url: https://arthur.barton.de/gitweb/?p=bup.git;a=commitdiff_plain;h=0c32e7c033fcfa7dbda9e0fee8b5910cdbbe6e7a configure.inc: name the tmpdir with a configure- prefix Aside from being a bit friendlier in general, this should also decrease the chance an unexpected expansion could ever result in an "rm -rf /". Thanks to Greg Troxel for mentioning the concern. Signed-off-by: Rob Browning Tested-by: Rob Browning --- diff --git a/config/configure.inc b/config/configure.inc index b25ca50..df5909a 100644 --- a/config/configure.inc +++ b/config/configure.inc @@ -594,7 +594,7 @@ MF_PATH_INCLUDE () { # and fd 5 points to what used to be fd 1 # AC_INIT () { - __ac_tmpdir=$(mktemp -d) + __ac_tmpdir=$(mktemp -d configure-XXXXX) __config_files="config.cmd config.sub config.h config.mak config.log" __config_detritus="config.h.tmp" rm -f $__config_files $__config_detritus