diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2007-01-13 15:14:10 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2007-01-13 15:14:10 +0000 |
commit | 9a922a966fcdf8cebd238f4b9e4da4b0a55ea4dd (patch) | |
tree | fdbddfc0558aecd14bf0e7231796cf9f86b6d76f /Master/bin/hppa-hpux | |
parent | 2f01aa916c192e25c5cef67ce81c9b2f3a562966 (diff) |
Changed TL version number.
git-svn-id: svn://tug.org/texlive/trunk@3416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/hppa-hpux')
-rwxr-xr-x | Master/bin/hppa-hpux/getnonfreefonts | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/bin/hppa-hpux/getnonfreefonts b/Master/bin/hppa-hpux/getnonfreefonts index 969a251b52c..3ab220ee570 100755 --- a/Master/bin/hppa-hpux/getnonfreefonts +++ b/Master/bin/hppa-hpux/getnonfreefonts @@ -11,7 +11,7 @@ # # The current maintainer is Reinhard Kotucha. -my $TL_version='2006'; +my $TL_version='2007'; my $getfont_url="ftp://tug.org/tex/getnonfreefonts/getfont$TL_version"; @@ -107,7 +107,7 @@ sub expand_var { } while (<KPSEWHICH>) { chop; - return $_; + return "$_"; } close KPSEWHICH; } @@ -172,11 +172,9 @@ if ($opt_debug) { } -if ($sys) { - $INSTALLROOT=expand_var 'TEXMFLOCAL'; -} else { - $INSTALLROOT=expand_var 'TEXMFHOME'; -} +$INSTALLROOTNAME=($sys)? 'TEXMFLOCAL':'TEXMFHOME'; + +$INSTALLROOT=expand_var "$INSTALLROOTNAME"; ($sys)? debug_msg "sys=true":debug_msg "sys=false"; @@ -188,7 +186,13 @@ $INSTALLROOT=~s/\\/\//g if ($INSTALLROOT=~/^\\\\/); # \\abc\def debug_msg "Internal variable INSTALLROOT converted to '$INSTALLROOT'"; sub check_installroot { - die "! ERROR: The install directory '$INSTALLROOT' doesn't exist.\n" + die "! ERROR: The variable $INSTALLROOTNAME is not set.\n" + unless length ("$INSTALLROOT") > 0; + + die "! ERROR: The install directory '$INSTALLROOT' doesn't " . + "exist.\n" . + " If this is the correct path, please create " . + "this directory manually.\n" unless (-d "$INSTALLROOT"); die "! ERROR: The install directory '$INSTALLROOT' is not writable.\n" |