summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-02-23 00:00:55 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-02-23 00:00:55 +0000
commit7d0f497f3b34b1f6ff59ae422c4dfef0c671178e (patch)
treec89f936a85db894de3229a68b2f03855da72b9f7 /Build
parent9e5448bdcc7b1b7c3cf8b5b807bc0d96605c5151 (diff)
epstopdf: s/die error/error/ (error* already dies)
git-svn-id: svn://tug.org/texlive/trunk@17149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/extra/epstopdf/epstopdf.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/extra/epstopdf/epstopdf.pl b/Build/source/extra/epstopdf/epstopdf.pl
index 2a2928f73c2..589574f18b4 100755
--- a/Build/source/extra/epstopdf/epstopdf.pl
+++ b/Build/source/extra/epstopdf/epstopdf.pl
@@ -261,11 +261,11 @@ if ($::opt_version) {
my $InputFilename = "";
if ($::opt_filter) {
@ARGV == 0 or
- die errorUsage "Input file cannot be used with filter option";
+ errorUsage "Input file cannot be used with filter option";
debug "Filtering: will read standard input";
} else {
- @ARGV > 0 or die errorUsage "Input filename missing";
- @ARGV < 2 or die errorUsage "Unknown option or too many input files";
+ @ARGV > 0 or errorUsage "Input filename missing";
+ @ARGV < 2 or errorUsage "Unknown option or too many input files";
$InputFilename = $ARGV[0];
#-r $InputFilename or error "\"$InputFilename\" not readable";
debug "Input filename:", $InputFilename;
@@ -279,7 +279,7 @@ if ($::opt_gscmd) {
if ($restricted) {
$GS =~ /^(gs|mgs|gswin32c|gs386|gsos2)\z/
or $GS =~ /^gs[\-_]?(\d|\d[\.-_]?\d\d)c?\z/
- or die error "Value of gscmd '$GS' not allowed in restricted mode.";
+ or error "Value of gscmd '$GS' not allowed in restricted mode.";
}
}
@@ -355,7 +355,7 @@ if ($restricted) {
my $ds = ($^O eq "MSWin32" || $^O eq "cygwin") ? qr([\\/]) : qr(/);
$ok = 0 if $OutputFilename =~ /^\.\.$ds|$ds\.\.$ds/;
# we passed all tests
- die error "Output filename '$OutputFilename' not allowed in restricted mode." unless $ok;
+ error "Output filename '$OutputFilename' not allowed in restricted mode." unless $ok;
}
### option gs