Permalink
Browse files

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

…redis2-nginx-module.
  • Loading branch information...
1 parent e8990b7 commit 88c1439437fcba8d7991d5913620ee7191e6b39a @agentzh agentzh committed May 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 util/fix-tests
View
@@ -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++;

0 comments on commit 88c1439

Please sign in to comment.