aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-30 01:53:33 +0000
committerlloyd <[email protected]>2008-06-30 01:53:33 +0000
commitb356a8da115446720f372a71d5a935d591f16a2f (patch)
tree3e760fd5fa2396c2226a28cdfae0edf4df2a0242
parent8fc77440200760286da8f485bb5a5b722f53811f (diff)
Ignore files containing # chars (emacs temp files)
-rwxr-xr-xconfigure.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.pl b/configure.pl
index 6357c4461..862a47081 100755
--- a/configure.pl
+++ b/configure.pl
@@ -823,7 +823,8 @@ sub dir_list {
my ($dir) = @_;
opendir(DIR, $dir) or croak("Couldn't read directory '$dir' ($!)");
- my @listing = grep { $_ ne File::Spec->curdir() and
+ my @listing = grep { !/#/ and
+ $_ ne File::Spec->curdir() and
$_ ne File::Spec->updir() } readdir DIR;
closedir DIR;