# Exit on error:
set -e

wget https://rsync.samba.org/ftp/rsync/src/rsync-3.1.0.tar.gz
#ftp://ftp.samba.org/pub/rsync/rsync-3.1.0.tar.gz
tar xf rsync-3.1.0.tar.gz
cd rsync-3.1.0
./configure --prefix=
make install
cd ..
rm -rf rsync-3.1.0
#rm rsync-3.1.0.tar.gz

exit 0
