check if variables are empty to be more failsafe
use osx compatible command to get absolute path of script
fixed names of variables
Merge pull request #143 from retuxx/docu

fixed bootstrap script for Mac OS X