From 030cfd730f9cf83c809f3adc3b0a5973133f6d6a Mon Sep 17 00:00:00 2001 From: jay Date: Sat, 4 Dec 2004 13:37:13 +0000 Subject: [PATCH] Fixed Savannah bug #3919: use mktemp instead of tempfile --- locate/updatedb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locate/updatedb.sh b/locate/updatedb.sh index 7af9d88..873510b 100644 --- a/locate/updatedb.sh +++ b/locate/updatedb.sh @@ -216,12 +216,12 @@ fi else # old -if ! bigrams=`tempfile -p updatedb`; then +if ! bigrams=`mktemp -t updatedbXXXXXXXXX`; then echo tempfile failed exit 1 fi -if ! filelist=`tempfile -p updatedb`; then +if ! filelist=`mktemp -t updatedbXXXXXXXXX`; then echo tempfile failed exit 1 fi -- 2.11.4.GIT