mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 157894 createlegaldirs.pl fails if All entry for modules file is too long
patch by david.berry@3glab.com r=timeless
This commit is contained in:
parent
a0be7dadfb
commit
bc0c87a480
@ -47,6 +47,12 @@ sub init_modules {
|
||||
chop;
|
||||
|
||||
if (/^\s+/) {
|
||||
# Replace any leading whitespace with a single space before
|
||||
# appending to curline. This is necessary for long All lines
|
||||
# which get split over reads from the CVSCOMMAND.
|
||||
# The match of oldlist and newlist in find_dirs will fail
|
||||
# if this is not done.
|
||||
s/^\s+/ /;
|
||||
$curline .= $_;
|
||||
} else {
|
||||
add_module($curline) if ($curline);
|
||||
|
Loading…
x
Reference in New Issue
Block a user