summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-try-install
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-01 02:04:28 +0000
committerKarl Berry <karl@freefriends.org>2018-08-01 02:04:28 +0000
commitc70a9d62d23e2c3bd11719ef5af274c9a0c8471c (patch)
treeeac9b16dbb002e5ad79ff8067f7763187eef7dcb /Master/tlpkg/bin/tl-try-install
parent93cb3b67055ad40191ca6c7556e876ea5c05bd29 (diff)
bin/tl-makeself-from-tlnet: new -- --debug option for embedded script;
copy Windows support files into archive; special case installation of xz.exe, wget.exe, tar.exe if we are updating the win32 platform. https://github.com/amaxwell/tlutility/issues/65 bin/tl-try-makeself: allow args to override, default to /tmp/krit and /tmp/ki. bin/tl-try-install: allow arg to specify profile; doc. dev/profiles/TLinfra+exe.pro: new test profile with multiple platforms, including Windows. Doc updates to other *.pro. install-tl: do not output Perl warning if binary_* is specified without a value; doc. (Not yet implemented: should give our own warning.) git-svn-id: svn://tug.org/texlive/trunk@48328 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-try-install')
-rwxr-xr-xMaster/tlpkg/bin/tl-try-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-try-install b/Master/tlpkg/bin/tl-try-install
index a677dbef25f..7439427d4ab 100755
--- a/Master/tlpkg/bin/tl-try-install
+++ b/Master/tlpkg/bin/tl-try-install
@@ -14,15 +14,16 @@ rm -rf $instdir* && echo "removed $instdir*."
mydir=`cd \`dirname "$0"\` && pwd` # Master/tlpkg/bin
Master=`cd $mydir/../.. && pwd`
-# don't let cwd interfere
+# don't let cwd or existing PATH interfere
cd "$HOME" || exit 1
+PATH=/usr/local/bin:/usr/bin:/bin # /usr/local/bin for good perl on tug
#Master=$tm #`cd $mydir/../.. && pwd`
#
thisrel=/usr/local/texlive/`date +%Y` # not necessarily, but whatever
prevrel=/usr/local/texlive/`expr "$(date +%Y)" - 1`
-pro=--profile=$Master/tlpkg/dev/profiles/TLinfra.pro #infra min small ... full
+pro=--profile=${1-Master/tlpkg/dev/profiles/TLinfra.pro} #infra min ... full
exec time $Master/install-tl $pro
exec time $lp/install-tl $pro
exec time $lp/install-tl $pro --repo ftp://ftp.cstug.cz/pub/tex/local/tlpretest