#!/bin/sh

pushd /private/tmp
su vagrant -c "brew install python"
rm /usr/bin/python
ln -s /usr/local/bin/python /usr/bin/python
su vagrant -c "/usr/local/bin/brew install /private/tmp/dmgbuild.rb"
popd

#!/bin/sh

pushd /private/tmp
su vagrant -c "/usr/local/bin/brew install python"
rm /usr/bin/python
ln -s /usr/local/bin/python /usr/bin/python
su vagrant -c "/usr/local/bin/brew install /private/tmp/dmgbuild.rb"
popd

Use full path to brew
Use full path to brew
