diff options
author | Laura Arjona Reina <larjona@debian.org> | 2022-03-28 17:46:05 +0200 |
---|---|---|
committer | Laura Arjona Reina <larjona@debian.org> | 2022-03-28 17:46:05 +0200 |
commit | 97708055abb831dd4a8e0452b4f4841562f14b7f (patch) | |
tree | f6bf0712173bcb67f4c70600765e0523525a92cd /smart_change.pl | |
parent | 2a5aa2bd2608a7abc033a5f01b1be2dc98386c3b (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-x | smart_change.pl | 2 |
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); |