diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-06-22 22:31:19 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-06-22 22:31:19 +0000 |
commit | 22070b35758bf85c606fd4b5a8c9fdd9cf71bd12 (patch) | |
tree | 58182f5377a03f7cfeec5a3ca888b89d129788b4 | |
parent | b964e695b5ace61834632e5a36e6dd1b9329f5a1 (diff) | |
download | mga-youri-submit-22070b35758bf85c606fd4b5a8c9fdd9cf71bd12.tar mga-youri-submit-22070b35758bf85c606fd4b5a8c9fdd9cf71bd12.tar.gz mga-youri-submit-22070b35758bf85c606fd4b5a8c9fdd9cf71bd12.tar.bz2 mga-youri-submit-22070b35758bf85c606fd4b5a8c9fdd9cf71bd12.tar.xz mga-youri-submit-22070b35758bf85c606fd4b5a8c9fdd9cf71bd12.zip |
use full path to rsync
-rw-r--r-- | lib/Youri/Submit/Post/Mirror.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Post/Mirror.pm b/lib/Youri/Submit/Post/Mirror.pm index 961cc1e..cc98fe1 100644 --- a/lib/Youri/Submit/Post/Mirror.pm +++ b/lib/Youri/Submit/Post/Mirror.pm @@ -36,7 +36,7 @@ sub run { croak "Missing destination" unless $self->{'_destination'}; - if (system("rsync -alH --delete $root/$target/ $self->{_destination}/$target/")) { + if (system("/usr/bin/rsync -alH --delete $root/$target/ $self->{_destination}/$target/")) { $self->{_error} = "Rsync command failed ($!)"; } |