aboutsummaryrefslogtreecommitdiffstats
path: root/smart_change.pl
diff options
context:
space:
mode:
authorLaura Arjona Reina <larjona@debian.org>2022-03-28 17:46:05 +0200
committerLaura Arjona Reina <larjona@debian.org>2022-03-28 17:46:05 +0200
commit97708055abb831dd4a8e0452b4f4841562f14b7f (patch)
treef6bf0712173bcb67f4c70600765e0523525a92cd /smart_change.pl
parent2a5aa2bd2608a7abc033a5f01b1be2dc98386c3b (diff)
Allow the use of smart_change in .inc files (that may have translation-check header too)
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 9f62ebbb5eb..c669596a685 100755
--- a/smart_change.pl
+++ b/smart_change.pl
@@ -122,7 +122,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|src))+ or die "unknown path '$argfile'";
+ $argfile =~ m+^(english.*)/(.*\.(wml|src|inc))+ or die "unknown path '$argfile'";
verbose("File: $argfile");
my %file_info = $VCS->file_info($argfile);

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