#!/bin/bash                                                                                                                                                                          
echo "Upgrading scripts"

find . -name "*sh" -exec sed -i "s#7.0.[0-9].*#7.0.9b#g" '{}' \;
sed -i 's#^ftpfile=.*#ftpfile=http://dev.mysql.com/get/Downloads/MySQL-Cluster-7.0/mysql-cluster-gpl-7.0.9-linux-x86_64-glibc23.tar.gz/from/http://ftp.sunet.se/pub/unix/databases/relational/mysql/#g' download-binary.sh

echo "done - now run ./download-binary.sh"
