summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-try-makeself
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-09 17:42:02 +0000
committerKarl Berry <karl@freefriends.org>2019-11-09 17:42:02 +0000
commit24bb9e4fa5f638d0e535c4cdd8a87ea482b11490 (patch)
treec9a56adc5e720e310f37075914d9221c29a8f772 /Master/tlpkg/bin/tl-try-makeself
parent4885bb094e49e56658e15217cf9e143b0f6d14b3 (diff)
TLUtils.pm (setup_programs): only use Data::Dumper if vv, not just v;
indent debug output lines. (copy): ddebug of every copy is too much; but ddebug dereferencing. TLPDB.pm (not_virtual_install_package): show container files instead of meaningless array ref hex, and only if ddebug. tl-try-install: placeholder for install-tl options. tl-try-makeself: doc. tl-update-nsis: remove tlpobj/ dir if we created it. tl-update-tlcritical: new option --no-containers. tltestnet: new convenience script for testing versioned containers. git-svn-id: svn://tug.org/texlive/trunk@52706 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-try-makeself')
-rwxr-xr-xMaster/tlpkg/bin/tl-try-makeself15
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/tl-try-makeself b/Master/tlpkg/bin/tl-try-makeself
index 0c2482a926d..386873ae687 100755
--- a/Master/tlpkg/bin/tl-try-makeself
+++ b/Master/tlpkg/bin/tl-try-makeself
@@ -1,10 +1,13 @@
#!/bin/sh -ex
# $Id$
-# Test tl-makeself, e.g., with spaces in filenames. Public domain.
+# Public domain. Originally written 2018, Karl Berry.
#
-# Assumes $lc is set to the tlcritical dir; copies from there
-# to make the test directory in which we run makeself and then try the
-# update.
+# Test tl-makeself-from-tlnt, e.g., with spaces in filenames.
+# First arg is TL installation in which to run the updater [/tmp/ki];
+# second arg is test dir in which to create the updater [/tmp/krit].
+#
+# Assumes $lc is set to the tlcritical dir; copies {archive,tlpkg} from
+# there to make the test directory in which we run makeself.
#
# Although having the source in a spaceful directory is not
# needed, might as well test that too unless inconvenient.
@@ -15,7 +18,7 @@ rm -rf "$testdir"
mkdir "$testdir"
rsync -a "$lc"/{archive,tlpkg} "$testdir"
-cd "$testdir" # because makeself writes to the current directory
+cd "$testdir" # because tl-makeself outputs to the current directory
rm -f update*sh # remove previous attempts
tl-makeself-from-tlnet "$testdir"
ls -l "$testdir"
@@ -26,5 +29,5 @@ tl=${1-"/tmp/ki"} # sp"
cd "$tl"
# Now try running the updater in the installed tree.
-PATH=$tl/bin/x86_64-linux:/usr/local/bin:/usr/bin:/bin
+PATH=$tl/bin/x86_64-linux:/usr/bin
"$testdir"/update-tlmgr-r*.sh #-- --debug