summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/c2l2
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto6
-rwxr-xr-xMaster/tlpkg/bin/tl-update-bindir12
3 files changed, 14 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/c2l b/Master/tlpkg/bin/c2l
index c29c695bbb3..77a4439975f 100755
--- a/Master/tlpkg/bin/c2l
+++ b/Master/tlpkg/bin/c2l
@@ -62,7 +62,7 @@ sub main {
print "$0: norbert updates done.\n";
exit 0;
- } elsif ($arg eq "cg" || $arg eq "mojca") {
+ } elsif ($arg eq "cg" || $arg eq "moj" || $arg eq "mojca") {
for my $p (qw(i386-freebsd amd64-freebsd
x86_64-darwinlegacy
i386-solaris x86_64-solaris)) {
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index 78ba3b01f0c..793f63e4aef 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -13,7 +13,7 @@ chicken=echo
chicken=
#
verbose=echo
-#verbose=false
+verbose=false
#
# Toward the end of a release, we may want to update config.{guess,sub}
# but nothing else:
@@ -242,9 +242,9 @@ fi
fi # !config_scripts_only
-# ctan mirror list from ctan. Also skip if even-numbered day,
+# ctan mirror list from ctan. Also skip every other day,
# just because daily seems a bit much.
-if $config_scripts_only || test `expr $(date +%d) % 2` = 1; then :; else
+if $config_scripts_only || test `expr $(date +%d) % 2` = 0; then :; else
ctan_mirrors=$TMPDIR/mirrors # incoming data from CTAN
ctan_mirmon=$TMPDIR/mirmon.state
mirrors4tl=tlpkg/installer/ctan-mirrors.pl # massaged for TL
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir
index d9b022d4585..c654bd3ab7a 100755
--- a/Master/tlpkg/bin/tl-update-bindir
+++ b/Master/tlpkg/bin/tl-update-bindir
@@ -186,8 +186,16 @@ for tlplat in $tlplats; do
default_bin_loc=$download_loc
$grab http://sanibeltranquility.com/cygwin/$tlplat.tgz;;
x86_64-darwin)
+ # current mac is different than everything else; it now contains
+ # only the changed and new files (whether files or symlinks),
+ # because binaries have to be "hardened", and hardening always changes
+ # the contents. Don't want everything to change every time. Have
+ # to do removals manually, but this seems the least bad. --karl, 22mar20
default_bin_loc=/home/koch/$tlplat.tar.xz
- echo "fix me, now only modified programs, goodbye" >&2; exit 1;
+ cd $destdir || exit 1
+ tar xf $default_bin_loc || exit 1
+ svn status | sort
+ exit 0
;;
x86_64-darwinlegacy)
default_bin_loc=$download_loc
@@ -262,7 +270,7 @@ for tlplat in $tlplats; do
find "$srcdir" -name biber\* | xargs rm -f
# may need to cd into a subdirectory, depending on how the tar was made.
- while test `ls $srcdir | wc -l` = 1; do
+ while test `ls $srcdir | wc -l` -eq 1; do
srcdir=$srcdir/*
done