jplew / SyncDB

Bash script meant to take the tedium out of deploying and updating database-driven (eg Wordpress) websites. It rapidly synchronizes local and remote versions of a MySQL database, performs the necessary search and replace queries, then synchronizes all your uploads/binaries.
MIT License
234 stars 41 forks source link

Fix syntax error when r_port is set #14

Open rajiteh opened 9 years ago

rajiteh commented 9 years ago

The script crashes at "Downloading remote databases" when r_port is set due to the double quotes around $scp_port variable.

vagrant@dev:/var/www/$ bash --version
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)