http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1acea7d
)
Avoid deleting .cvsignore
author
Michael Brown
<mcb30@etherboot.org>
Sun, 17 Apr 2005 16:24:36 +0000
(16:24 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Sun, 17 Apr 2005 16:24:36 +0000
(16:24 +0000)
src/util/mkconfig.pl
patch
|
blob
|
history
diff --git
a/src/util/mkconfig.pl
b/src/util/mkconfig.pl
index
7850661
..
6a9c2f1
100755
(executable)
--- a/
src/util/mkconfig.pl
+++ b/
src/util/mkconfig.pl
@@
-48,13
+48,13
@@
sub file_mtime {
return $stat->mtime;
}
-# Read a
directory listing (excluding the . and .. entries)
+# Read a
ll the .h files in a directory
#
sub read_dir {
my $dir = shift;
opendir my $dh, $dir or die "Could not open directory $dir: $!\n";
- my @entries = grep {
! /^(\.)+
$/ } readdir $dh;
+ my @entries = grep {
/\.h
$/ } readdir $dh;
closedir $dh;
return @entries;
}