From fce5dcf4d6b9ceb86ee59afb1334cb299bf3855e Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 26 May 2005 16:00:58 +0000 Subject: [PATCH] Exclude all .files from printed ioc arch list, not just . and .. --- src/makeBaseApp/makeBaseApp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makeBaseApp/makeBaseApp.pl b/src/makeBaseApp/makeBaseApp.pl index 78994301e..cce7e2c50 100755 --- a/src/makeBaseApp/makeBaseApp.pl +++ b/src/makeBaseApp/makeBaseApp.pl @@ -201,7 +201,7 @@ sub get_commandline_opts { #no args # ioc architecture if ($opt_i) { opendir BINDIR, "$epics_base/bin" or die "Can't open $epics_base/bin: $!"; - my @archs = grep !/^\.\.?$/, readdir BINDIR; # exclude . and .. + my @archs = grep !/^\./, readdir BINDIR; # exclude .files closedir BINDIR; if ($opt_a) { $arch = $opt_a;