projects
/
p5sagit/App-FatPacker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cb50b68
)
Skip lib if it doesn't exist
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 21:14:48 +0000 (14:14 -0700)]
lib/App/FatPacker.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/App/FatPacker.pm
b/lib/App/FatPacker.pm
index
75ba087
..
b968332
100644
(file)
--- a/
lib/App/FatPacker.pm
+++ b/
lib/App/FatPacker.pm
@@
-187,7
+187,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 {