From 444f0a2e44a4a7107f50a43e212aed671ea41f45 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 Nov 2019 16:56:58 +0000 Subject: add identifying --suffix to mktemp calls git-svn-id: svn://tug.org/texlive/trunk@52816 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-check-tlnet-consistency | 2 +- Master/tlpkg/bin/tl-makeself-from-tlnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Master') diff --git a/Master/tlpkg/bin/tl-check-tlnet-consistency b/Master/tlpkg/bin/tl-check-tlnet-consistency index e82ec38a0b1..7016d9397f1 100755 --- a/Master/tlpkg/bin/tl-check-tlnet-consistency +++ b/Master/tlpkg/bin/tl-check-tlnet-consistency @@ -68,7 +68,7 @@ sub main { if (! -d $tempbase) { mkdir($tempbase) or die "Cannot create $tempbase directory: $!"; } - my $temp = `mktemp -d -p \"$tempbase\"`; + my $temp = `mktemp -d --suffix=tlcnc --tmpdir=\"$tempbase\"`; chomp($temp); die "Cannot create temporary directory in $tempbase: $!" if (! -d $temp); my @notlpobj; diff --git a/Master/tlpkg/bin/tl-makeself-from-tlnet b/Master/tlpkg/bin/tl-makeself-from-tlnet index 694bd3ee9b3..50bdc4e6b9a 100755 --- a/Master/tlpkg/bin/tl-makeself-from-tlnet +++ b/Master/tlpkg/bin/tl-makeself-from-tlnet @@ -51,7 +51,7 @@ if test -z "$NETRELEASE" || test -z "$MINRELEASE"; then fi CWD=`pwd` # save original dir -TMP=`mktemp -d` # work in new temp dir +TMP=`mktemp --suffix=tlmksel -d` # work in new temp dir cd "$TMP" mkdir master cd master -- cgit v1.2.3