summaryrefslogtreecommitdiff
path: root/Master/bin/win32/generate-language.texlua
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-02-08 10:03:02 +0000
committerNorbert Preining <preining@logic.at>2008-02-08 10:03:02 +0000
commite7fb636eadd3ea052af31a181b5061f7f36dbfa6 (patch)
tree1b4585548ccfb25d1d12712bdd83fbc0e5e656fe /Master/bin/win32/generate-language.texlua
parent8675e83784878ae7c2433b47a08726e65f582409 (diff)
break out if we cannot find the script
git-svn-id: svn://tug.org/texlive/trunk@6541 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32/generate-language.texlua')
-rwxr-xr-xMaster/bin/win32/generate-language.texlua5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/bin/win32/generate-language.texlua b/Master/bin/win32/generate-language.texlua
index 3acd87edc46..b2013a3c8ca 100755
--- a/Master/bin/win32/generate-language.texlua
+++ b/Master/bin/win32/generate-language.texlua
@@ -36,6 +36,11 @@ end
script=kpse.find_file(basename..".pl", "texmfscripts")
+if (not(script)) then
+ print ("Cannot find "..basename..".pl".." using kpse, exiting!")
+ os.exit(1)
+end
+
command={perlbin, script}
for i=1, #arg do