diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-02-08 17:28:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-02-08 17:28:27 +0000 |
commit | 54b231921c05c68d2f7a3800158822d5198c5a30 (patch) | |
tree | e5c68088b6f04c6b5ed8826ddbfc4a2f270adde4 /lib/Youri | |
parent | ae36465402ce2e515d413f34e642a605cdd13a72 (diff) | |
download | mga-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/Youri')
-rw-r--r-- | lib/Youri/Submit/Action/Unpack.pm | 2 |
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}"); |