aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-02-08 17:28:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-02-08 17:28:27 +0000
commit54b231921c05c68d2f7a3800158822d5198c5a30 (patch)
treee5c68088b6f04c6b5ed8826ddbfc4a2f270adde4 /lib
parentae36465402ce2e515d413f34e642a605cdd13a72 (diff)
downloadmga-youri-submit-54b231921c05c68d2f7a3800158822d5198c5a30.tar
mga-youri-submit-54b231921c05c68d2f7a3800158822d5198c5a30.tar.gz
mga-youri-submit-54b231921c05c68d2f7a3800158822d5198c5a30.tar.bz2
mga-youri-submit-54b231921c05c68d2f7a3800158822d5198c5a30.tar.xz
mga-youri-submit-54b231921c05c68d2f7a3800158822d5198c5a30.zip
also give directories to "cpio -pdu" to ensure directories are created with same rights
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Action/Unpack.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Action/Unpack.pm b/lib/Youri/Submit/Action/Unpack.pm
index 96c77f7..9301c89 100644
--- a/lib/Youri/Submit/Action/Unpack.pm
+++ b/lib/Youri/Submit/Action/Unpack.pm
@@ -55,7 +55,7 @@ sub run {
}
foreach my $dest (@dests) {
- my $cmd = "cd $tempdir/$self->{_source_subdir}; find -type f | cpio -pdu $dest";
+ my $cmd = "cd $tempdir/$self->{_source_subdir}; find | cpio -pdu $dest";
print "Submit::Action::Unpack: doing $cmd\n" if $self->{_verbose};
if (!$self->{_test}) {
my @l = glob("$tempdir/$self->{_source_subdir}");