Fix typo resulting in wrong results in some cases.

parent b35a925b
......@@ -16,7 +16,7 @@ grep -hiE '^[[:space:]]*select _v.register_patch\(' "[email protected]" | \
s/\].*//;
@w = /\047([^\047]+)\047/g;
}
pop @w, $ENV{"PATCH_NAME"} if 0 == ( scalar @w % 2 );
push @w, $ENV{"PATCH_NAME"} if ( 0 == @w ) || ( 0 == ( @w % 2 ) );
printf "%s %s\n", $ENV{"PATCH_NAME"}, $_ for @w;
'
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment