texlive[52816] Master/tlpkg/bin: add identifying --suffix to mktemp
commits+karl at tug.org
commits+karl at tug.org
Sat Nov 16 17:56:58 CET 2019
Revision: 52816
http://tug.org/svn/texlive?view=revision&revision=52816
Author: karl
Date: 2019-11-16 17:56:58 +0100 (Sat, 16 Nov 2019)
Log Message:
-----------
add identifying --suffix to mktemp calls
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tl-check-tlnet-consistency
trunk/Master/tlpkg/bin/tl-makeself-from-tlnet
Modified: trunk/Master/tlpkg/bin/tl-check-tlnet-consistency
===================================================================
--- trunk/Master/tlpkg/bin/tl-check-tlnet-consistency 2019-11-16 02:22:41 UTC (rev 52815)
+++ trunk/Master/tlpkg/bin/tl-check-tlnet-consistency 2019-11-16 16:56:58 UTC (rev 52816)
@@ -68,7 +68,7 @@
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;
Modified: trunk/Master/tlpkg/bin/tl-makeself-from-tlnet
===================================================================
--- trunk/Master/tlpkg/bin/tl-makeself-from-tlnet 2019-11-16 02:22:41 UTC (rev 52815)
+++ trunk/Master/tlpkg/bin/tl-makeself-from-tlnet 2019-11-16 16:56:58 UTC (rev 52816)
@@ -51,7 +51,7 @@
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
More information about the tex-live-commits
mailing list