diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-16 16:56:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-16 16:56:58 +0000 |
commit | 444f0a2e44a4a7107f50a43e212aed671ea41f45 (patch) | |
tree | ac37c8a1af6147a8dc5898a3082fba392a804c6e /Master/tlpkg/bin | |
parent | dcb59d7d93c1252cb5dffb33099ed4bffc27fabc (diff) |
add identifying --suffix to mktemp calls
git-svn-id: svn://tug.org/texlive/trunk@52816 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-x | Master/tlpkg/bin/tl-check-tlnet-consistency | 2 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tl-makeself-from-tlnet | 2 |
2 files changed, 2 insertions, 2 deletions
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 |