bugfix: ./util/fix-tests could not distingish redis-nginx-module and redis2-nginx-module.

pull/14/head
agentzh (章亦春) 13 years ago
parent e8990b7d03
commit 88c1439437

@ -37,7 +37,7 @@ for my $t_file (@t_files) {
my $changed;
while (<$in>) {
for my $dir (@dirs) {
(my $pat = $dir) =~ s/\d.*//;
(my $pat = $dir) =~ s/-(\d+\..*)/-/;
my $orig = $_;
if (s{\.\./$pat\S+}{../$dir}g && $orig ne $_) {
$changed++;

Loading…
Cancel
Save