Adding leading spaces back in for -> lines, it's a little easier to read

This commit is contained in:
mcafee%netscape.com 2002-03-29 23:38:23 +00:00
Родитель f19754602f
Коммит 28c71aa35d
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -160,7 +160,8 @@ sub build_deps_matrix_from_file {
while (<DEPS_FILE>) {
if(/->/) {
chomp;
s/\;//; # Strip off ';'
s/^\s+//; # Strip off leading spaces.
s/\;//; # Strip off ';'
# Pick off module, and dependency from -> line.
@line = split(' -> ', $_);
@ -229,7 +230,7 @@ sub print_dependency_list() {
keys %{ $deps{$module} } ) {
# print " $module -> $req [weight=$deps{$module}{$req}];\n";
if(!$list_only_mode) {
print "$module -> $req;\n";
print " $module -> $req;\n";
} else {
# print "$req ";
push(@raw_list, $req);