summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlnet
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-02 19:40:36 +0000
committerKarl Berry <karl@freefriends.org>2020-03-02 19:40:36 +0000
commitfbf1d64d26ffb6a617fa32f6a0b130913e283940 (patch)
treefb32daacabe41db521c9645a7a6ad40ce36be342 /Master/tlpkg/bin/tl-update-tlnet
parent33796c60559f70d9af0b2a429f692b03de8a4b67 (diff)
doc, syntax
git-svn-id: svn://tug.org/texlive/trunk@54010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlnet')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlnet6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet
index 7a4fe36c3da..a6ac9c34730 100755
--- a/Master/tlpkg/bin/tl-update-tlnet
+++ b/Master/tlpkg/bin/tl-update-tlnet
@@ -99,11 +99,15 @@ for f in $tlweb/*; do
done
# Update packages in our working dir.
+# These shell assignments have to come outside the cow-shell.
echo "$0: Updating $tltry (from $Master) with cow-shell..."
containers_prog="$Master/tlpkg/bin/tl-update-containers"
containers_args=" $verbose -location $tltry $critical $recreate $gpgcmd"
containers_invoke="$containers_prog $containers_args"
#
+update_install_prog=$Master/tlpkg/bin/tl-update-install-pkg
+update_install_invoke="$update_install_prog $gpgcmd -o $tltry"
+#
cd $tltry
cow-shell <<END_COW
echo "$0: Updating containers with (critical=$critical recreate=$recreate gpgcmd=$gpgcmd)"
@@ -116,8 +120,6 @@ fi
# It is scary, but I guess we should update the installer package every
# day, partly for the sake of doc.html and partly so it actually gets
# tested. Hopefully we don't break the Perl modules very often.
-update_install_prog=$Master/tlpkg/bin/tl-update-install-pkg
-update_install_invoke="$update_install_prog $gpgcmd -o $tltry"
echo "$0: Updating install pkg with"
echo "$0: $update_install_invoke"
if $update_install_invoke; then :; else