diff options
Diffstat (limited to 'Master/bin/amd64-freebsd/mktexlsr')
-rwxr-xr-x | Master/bin/amd64-freebsd/mktexlsr | 4 |
1 files changed, 2 insertions, 2 deletions
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 |