diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-08-02 08:27:31 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-08-02 08:27:31 +0000 |
commit | e5edd6c5f930952d38489cd04e0f9ba58e835560 (patch) | |
tree | 66b5c34c9c72c45eb9569c3133cb64df423f1f5f /Master/install-tl | |
parent | f74391e44b9ee5fcddc75c5834452c371e37f3f8 (diff) |
install-tl: cosmetic changes for --portable and --print-arch options
git-svn-id: svn://tug.org/texlive/trunk@10004 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl index 51ca522d756..b1103da9830 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -249,12 +249,14 @@ my $media; # a couple of special uses of install-tl: if ($opt_arch) { - print platform; + print platform()."\n"; exit 0; } elsif ($opt_portable) { $::opt_verbosity = -1; $::_platform_ = platform(); $location = getenv('TEXDIR'); + die "Don't use --portable directly; use tl-portable instead\n" + unless $location; $vars{'TEXDIR'} = $location; if (not -d $vars{'TEXDIR'}.'/bin/'.$::_platform_) { # shouldn't happen print "Platform ".$::_platform_." not supported\n"; |