diff options
author | pmichaud <pmichaud@pobox.com> | 2012-08-31 16:57:24 -0500 |
---|---|---|
committer | pmichaud <pmichaud@pobox.com> | 2012-08-31 16:57:24 -0500 |
commit | c7cd32438b3cf392be361b0e85fa95057d3c54cb (patch) | |
tree | d9d0bcd3c052673517503fbd351ba37ed9751d27 | |
parent | c53748cf6976fa14d1550b080b28ee43f0204f15 (diff) |
Skip blank lines and comment lines in input to module-install.pl.
-rw-r--r-- | tools/build/module-install.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build/module-install.pl b/tools/build/module-install.pl index c3a2af6..c5a4deb 100644 --- a/tools/build/module-install.pl +++ b/tools/build/module-install.pl @@ -13,6 +13,7 @@ my $perl6lib = shift @ARGV; my @pmfiles; my @mod_pms; while (<>) { + next if /^\s*(#|$)/; my ($module) = /(\S+)/; print "== Installing modules/$module\n"; our $mlib = "modules/$module/lib"; |