summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-08-02 08:27:31 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-08-02 08:27:31 +0000
commite5edd6c5f930952d38489cd04e0f9ba58e835560 (patch)
tree66b5c34c9c72c45eb9569c3133cb64df423f1f5f
parentf74391e44b9ee5fcddc75c5834452c371e37f3f8 (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
-rwxr-xr-xMaster/install-tl4
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";