diff options
author | Norbert Preining <preining@logic.at> | 2008-02-08 10:03:02 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-02-08 10:03:02 +0000 |
commit | e7fb636eadd3ea052af31a181b5061f7f36dbfa6 (patch) | |
tree | 1b4585548ccfb25d1d12712bdd83fbc0e5e656fe /Master/bin/i386-linux | |
parent | 8675e83784878ae7c2433b47a08726e65f582409 (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/i386-linux')
-rwxr-xr-x | Master/bin/i386-linux/generate-fmtutil | 5 | ||||
-rwxr-xr-x | Master/bin/i386-linux/generate-language | 5 | ||||
-rwxr-xr-x | Master/bin/i386-linux/generate-updmap | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/Master/bin/i386-linux/generate-fmtutil b/Master/bin/i386-linux/generate-fmtutil index b639dad34eb..1089cd2d921 100755 --- a/Master/bin/i386-linux/generate-fmtutil +++ b/Master/bin/i386-linux/generate-fmtutil @@ -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/i386-linux/generate-language b/Master/bin/i386-linux/generate-language index 3acd87edc46..b2013a3c8ca 100755 --- a/Master/bin/i386-linux/generate-language +++ b/Master/bin/i386-linux/generate-language @@ -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/i386-linux/generate-updmap b/Master/bin/i386-linux/generate-updmap index 321b385f6b9..30549144271 100755 --- a/Master/bin/i386-linux/generate-updmap +++ b/Master/bin/i386-linux/generate-updmap @@ -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 |