From 33768f1313b327865518f09b2c67d4134cf183fc Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 31 Mar 2008 22:33:36 +0000 Subject: [PATCH 1/1] Fix bug in the code for --opened - it was not working on blead. p4raw-id: //depot/perl@33622 --- Porting/Maintainers.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm index 4f50e94..4f7aa44 100644 --- a/Porting/Maintainers.pm +++ b/Porting/Maintainers.pm @@ -107,9 +107,12 @@ sub process_options { my @Files; if ($Opened) { - my @raw = `p4 opened`; + @Files = `p4 opened`; die if $?; - @Files = map {s!#.*!!s; s!^//depot/.*?/perl/!!; $_} @raw; + foreach (@Files) { + s!#.*!!s; + s!^//depot/(?:perl|.*?/perl)/!!; + } } else { @Files = @ARGV; } -- 1.8.3.1