aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-06-22 22:31:19 +0000
committerNicolas Vigier <boklm@mageia.org>2011-06-22 22:31:19 +0000
commit22070b35758bf85c606fd4b5a8c9fdd9cf71bd12 (patch)
tree58182f5377a03f7cfeec5a3ca888b89d129788b4
parentb964e695b5ace61834632e5a36e6dd1b9329f5a1 (diff)
downloadmga-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.pm2
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 ($!)";
}