projects
/
p5sagit/App-FatPacker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Support not having a lib directory
[p5sagit/App-FatPacker.git]
/
lib
/
App
/
FatPacker.pm
diff --git
a/lib/App/FatPacker.pm
b/lib/App/FatPacker.pm
index
62a1612
..
f32459e
100644
(file)
--- a/
lib/App/FatPacker.pm
+++ b/
lib/App/FatPacker.pm
@@
-153,7
+153,7
@@
sub script_command_file {
my ($self, $args) = @_;
my $file = shift @$args;
my $cwd = cwd;
- my @dirs = map rel2abs($_, $cwd), ('lib','fatlib');
+ my @dirs = grep { -d $_ } map rel2abs($_, $cwd), ('lib','fatlib');
my %files;
foreach my $dir (@dirs) {
find(sub {