devtools: use a common prefix for temporary files
[dpdk.git] / buildtools / auto-config-h.sh
index d28a5c3..6130429 100755 (executable)
@@ -23,7 +23,7 @@ name=${5:?define/type/function name required}
 
 : ${CC:=cc}
 
-temp=/tmp/${0##*/}.$$.c
+temp=$(mktemp -t dpdk.${0##*/}.XXX.c)
 
 case $type in
 define)