projects
/
pxelator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
skip directories in all_conf
[pxelator]
/
lib
/
PXElator
/
client.pm
diff --git
a/lib/PXElator/client.pm
b/lib/PXElator/client.pm
index
7fc943d
..
89c3498
100644
(file)
--- a/
lib/PXElator/client.pm
+++ b/
lib/PXElator/client.pm
@@
-81,6
+81,7
@@
sub all_conf {
foreach my $file ( glob("$path/*"), glob("$path/*/*") ) {
my $name = $file;
$name =~ s{^$path/+}{} || die "can't remove $path from $name";
+ next if -d $file;
$conf->{ $name } =
-l $file ? readlink $file :
-f $file ? read_file $file :