I am setting up SourceTree with the same custom actions that work with another installation. For example, I have:
Script target: git
Parameters: clean -fx
When I attempt to invoke the action, I get:
git clean -fx
launch path not accessible
Completed with errors, see above
It works if I specify the full path of git in the script target: /usr/local/git/bin/git
But I would prefer to not have to specify that in each of the actions.
I have SourceTree configured to use system git with location /usr/local/git/bin/git. But I get the same error if I use embedded git.
I also tried an action:
Script target: /usr/sbin/which
Parameters: git
This also returns the error:
launch path not accessible
What gives?
SourceTree version 2.0.5.3
Git version 2.5.3
$ defaults read ${HOME}/.MacOSX/environment.plist PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin