I was getting a funny error when hitting search_replace_local:
./syncdb: line 1209: /Applications/MAMP/bin/php/php5.3.28/bin/php: No such file or directory
Weird because I run MAMP PRO and it's supposed to be php 5.6.7. There isn't a 5.3.28 in MAMP.
I thought MAMP was doing something funky but which php correctly returns /usr/bin/php.
Digging the code deeper it seems like the problem is here:
if [[ "${l_php-}" ]]
then
my_php=$l_php
fi
What is this l_php- ?
I had to comment those lines out to get the proper php binary and then it worked.
Just a heads up!