From 630f74bb2533b01670bb359f5b49089e4ac90072 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 14 Apr 2015 12:17:33 +0000 Subject: update all mktexlsr scripts to switch back to source version git-svn-id: svn://tug.org/texlive/trunk@36856 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/amd64-freebsd/mktexlsr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/bin/amd64-freebsd/mktexlsr') diff --git a/Master/bin/amd64-freebsd/mktexlsr b/Master/bin/amd64-freebsd/mktexlsr index d0b77417835..3161a5317ec 100755 --- a/Master/bin/amd64-freebsd/mktexlsr +++ b/Master/bin/amd64-freebsd/mktexlsr @@ -10,7 +10,7 @@ # Originally written as `texhash' by Thomas Esser, Okt., 1994. # Public domain. -version='$Id: mktexlsr 36626 2015-03-25 22:51:45Z karl $' +version='$Id: mktexlsr 36855 2015-04-14 12:15:08Z preining $' progname=`echo $0 | sed 's%.*/%%'` usage="Usage: $progname [OPTION]... [DIR]... @@ -73,7 +73,7 @@ if tty -s; then verbose=true; else verbose=false; fi dry_run=false trees= -treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1 +treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp" trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp"; exit' 0 1 2 3 7 13 15 -- cgit v1.2.3