From 97708055abb831dd4a8e0452b4f4841562f14b7f Mon Sep 17 00:00:00 2001 From: Laura Arjona Reina Date: Mon, 28 Mar 2022 17:46:05 +0200 Subject: Allow the use of smart_change in .inc files (that may have translation-check header too) --- smart_change.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smart_change.pl') 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); -- cgit v1.2.3