diff options
author | Michael Brown | 2005-04-17 18:24:36 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-17 18:24:36 +0200 |
commit | 6e4888400ce107d4d569dbbe69aa2483ef33c55c (patch) | |
tree | b5cc5334cf42375ead3837ce693e3f2b1d2b612a /src/util | |
parent | Serial port configuration moved to config.h (diff) | |
download | ipxe-6e4888400ce107d4d569dbbe69aa2483ef33c55c.tar.gz ipxe-6e4888400ce107d4d569dbbe69aa2483ef33c55c.tar.xz ipxe-6e4888400ce107d4d569dbbe69aa2483ef33c55c.zip |
Avoid deleting .cvsignore
Diffstat (limited to 'src/util')
-rwxr-xr-x | src/util/mkconfig.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/mkconfig.pl b/src/util/mkconfig.pl index 7850661a..6a9c2f14 100755 --- 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 all 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; } |