summaryrefslogtreecommitdiff
path: root/Master/bin/win32
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
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')
-rwxr-xr-xMaster/bin/win32/generate-fmtutil.texlua5
-rwxr-xr-xMaster/bin/win32/generate-language.texlua5
-rwxr-xr-xMaster/bin/win32/generate-updmap.texlua5
3 files changed, 15 insertions, 0 deletions
diff --git a/Master/bin/win32/generate-fmtutil.texlua b/Master/bin/win32/generate-fmtutil.texlua
index b639dad34eb..1089cd2d921 100755
--- a/Master/bin/win32/generate-fmtutil.texlua
+++ b/Master/bin/win32/generate-fmtutil.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
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
diff --git a/Master/bin/win32/generate-updmap.texlua b/Master/bin/win32/generate-updmap.texlua
index 321b385f6b9..30549144271 100755
--- a/Master/bin/win32/generate-updmap.texlua
+++ b/Master/bin/win32/generate-updmap.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