From 22070b35758bf85c606fd4b5a8c9fdd9cf71bd12 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 22 Jun 2011 22:31:19 +0000 Subject: use full path to rsync --- lib/Youri/Submit/Post/Mirror.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 ($!)"; } -- cgit v1.2.1