diff options
author | Peter Karlsson <peterk> | 2004-12-06 19:41:04 +0000 |
---|---|---|
committer | Peter Karlsson <peterk> | 2004-12-06 19:41:04 +0000 |
commit | c7c955ca02eec6a6c9e6f91ba29e78d0188f0ec8 (patch) | |
tree | 1ebfafe288b8c394621469f4949e48356642df64 /smart_change.pl | |
parent | 03c2dd83ec907179c93da04502abdcf057ea169c (diff) |
Better error reporting.
CVS version numbers
smart_change.pl: 1.5 -> 1.6
Diffstat (limited to 'smart_change.pl')
-rwxr-xr-x | smart_change.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smart_change.pl b/smart_change.pl index 0e34982bac3..89870dcc5da 100755 --- a/smart_change.pl +++ b/smart_change.pl @@ -66,7 +66,7 @@ my $substitute = eval "sub { \$_ = shift; $eval_opt_s; die \$@ if \$@; return \$ die "Invalid -s option" if $@; foreach my $argfile (@ARGV) { - $argfile =~ m+^(english.*)/(.*\.wml)+ or die "pattern does not match"; + $argfile =~ m+^(english.*)/(.*\.wml)+ or die "unknown path '$argfile'"; my ($path, $file) = ($1, $2); verbose("File: $argfile"); |