aboutsummaryrefslogtreecommitdiffstats
path: root/smart_change.pl
diff options
context:
space:
mode:
authorPeter Karlsson <peterk>2004-12-06 19:41:04 +0000
committerPeter Karlsson <peterk>2004-12-06 19:41:04 +0000
commitc7c955ca02eec6a6c9e6f91ba29e78d0188f0ec8 (patch)
tree1ebfafe288b8c394621469f4949e48356642df64 /smart_change.pl
parent03c2dd83ec907179c93da04502abdcf057ea169c (diff)
Better error reporting.
CVS version numbers smart_change.pl: 1.5 -> 1.6
Diffstat (limited to 'smart_change.pl')
-rwxr-xr-xsmart_change.pl2
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");

© 2014-2024 Faster IT GmbH | imprint | privacy policy