[FFmpeg-devel] [PATCH] fate: check if rsync has the contimeout option

Nicolas George nicolas.george at normalesup.org
Wed Nov 7 10:49:28 CET 2012


Le septidi 17 brumaire, an CCXXI, Jean First a écrit :
>  fate-rsync:
> +ifdef HAVE_RSYNC_CONTIMEOUT
>  	rsync -vrltLW --timeout=60 --contimeout=60 rsync://fate-suite.ffmpeg.org/fate-suite/ $(SAMPLES)
>  else
> +	rsync -vrltLW --timeout=60 rsync://fate-suite.ffmpeg.org/fate-suite/ $(SAMPLES)
> +endif
> +else

I find that duplication rather not nice. What about this:

RSYNC_OPTIONS-$(HAVE_RSYNC_CONTIMEOUT) += --contimeout=60
RSYNC_OPTIONS = -vrltLW --timeout=60 $(RSYNC_OPTIONS-yes)

?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121107/0415051c/attachment.asc>


More information about the ffmpeg-devel mailing list