texlive[62227] Master/tlpkg/bin/tl-update-auto: redirect stdin from
commits+karl at tug.org
commits+karl at tug.org
Sun Feb 27 16:51:27 CET 2022
Revision: 62227
http://tug.org/svn/texlive?view=revision&revision=62227
Author: karl
Date: 2022-02-27 16:51:27 +0100 (Sun, 27 Feb 2022)
Log Message:
-----------
redirect stdin from /dev/null; typo in cmp curl_cert_dl
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tl-update-auto
Modified: trunk/Master/tlpkg/bin/tl-update-auto
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-auto 2022-02-27 15:19:14 UTC (rev 62226)
+++ trunk/Master/tlpkg/bin/tl-update-auto 2022-02-27 15:51:27 UTC (rev 62227)
@@ -7,6 +7,7 @@
LC_ALL=C; export LC_ALL
PATH=/usr/local/gnu/bin:/usr/local/bin:$PATH; export PATH
umask 022
+exec </dev/null # no redirection
# maybe someday we'll make real options.
chicken=echo
@@ -143,8 +144,8 @@
#
config.guess/sub/etc. from elsewhere on tug.org, mirrored from gnulib.
# See Build/source/build-aux/README.TL for more info on common scripts.
#
+if $config_scripts_only || true; then # just for parallelism
config_masterdir=/home/ftp/dist/build-aux
-#
for gnuconf in ar-lib compile config.guess config.sub depcomp \
install-sh texinfo.tex; do
master_conffile=$config_masterdir/$gnuconf
@@ -177,6 +178,7 @@
fi
fi
done
+fi # !config_scripts_only
#
tlmgr and install-tl man pages + html autogenerated.
@@ -280,7 +282,7 @@
curl_cert_dl=$TMPDIR/cacert.pem
curl_cert_inst=tlpkg/installer/curl/curl-ca-bundle.crt
if wget --quiet $curl_cert_src -O $curl_cert_dl; then
- if cmp -s $curl_cert_dl $cert_cert_inst; then
+ if cmp -s $curl_cert_dl $curl_cert_inst; then
$verbose " `basename $curl_cert_inst` ok."
else
$chicken $cp $curl_cert_dl $curl_cert_inst
@@ -287,7 +289,7 @@
update_list="$update_list $curl_cert_inst"
fi
else
- echo "$0: cert bundle ($curl_bundle_src) not retrievable, skipping." >&2
+ echo "$0: cert bundle not retrievable (wget $curl_cert_src), skipping." >&2
fi
fi # !config_scripts_only || !odd_day_num
More information about the tex-live-commits
mailing list.