projects
/
app-web-vpkbuilder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff50256
)
Add correct directory to archive when vpk is not provided
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 23 Aug 2014 21:09:21 +0000
(
00:09
+0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 23 Aug 2014 21:13:46 +0000
(
00:13
+0300)
lib/App/Web/VPKBuilder.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/App/Web/VPKBuilder.pm
b/lib/App/Web/VPKBuilder.pm
index ebeaa257af1aeb704f45a0f3f4c8740e28aa36fa..aec616d414f37da25bb12cef2ad557acb5642315 100644
(file)
--- a/
lib/App/Web/VPKBuilder.pm
+++ b/
lib/App/Web/VPKBuilder.pm
@@
-64,7
+64,7
@@
sub makepkg {
system $self->{cfg}{vpk} => $dest;
push @zip_files, catfile $dir, "pkg.$self->{cfg}{vpk_extension}"
} else {
- find sub { push @zip_files, $File::Find::name if -f },
'pkg'
;
+ find sub { push @zip_files, $File::Find::name if -f },
$dest
;
}
zip \@zip_files, catfile($dir, 'pkg.zip'), FilterName => sub { $_ = abs2rel $_, $dir }, -Level => 1;
open my $fh, '<', catfile $dir, 'pkg.zip';
This page took
0.010113 seconds
and
4
git commands to generate.