diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-27 15:51:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-27 15:51:27 +0000 |
commit | 5cbf38797e6667894d59167514a14d036c1730ca (patch) | |
tree | f1b0b2694a914c33b9605f7bf307eac1ffb0aafc /Master/tlpkg | |
parent | 554b6f333913924388b700b3acacb33f1f8bf3e5 (diff) |
redirect stdin from /dev/null; typo in cmp curl_cert_dl
git-svn-id: svn://tug.org/texlive/trunk@62227 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-auto | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto index 1fe6cbe5a08..bbe1d1a1520 100755 --- a/Master/tlpkg/bin/tl-update-auto +++ b/Master/tlpkg/bin/tl-update-auto @@ -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 @@ fi # !config_scripts_only # 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 @@ for gnuconf in ar-lib compile config.guess config.sub depcomp \ fi fi done +fi # !config_scripts_only # tlmgr and install-tl man pages + html autogenerated. @@ -280,14 +282,14 @@ if $config_scripts_only || test `expr $(date +%d) % 2` = 0; then :; else 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 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 |