I've added a custom action that simply calls a shell script. However, when I run it, it fails. Here is the fail message:
2013-04-01 15:45:31.082 SourceTree[4126:203] *** NSTask: Task create for path '/Git/CFTools/Scripts/git/prep_submodule.sh' failed: 22, "Invalid argument". Terminating temporary process.
Completed with errors, see above
As you can see, I'm also passing $REPO to the script. The script simply says:
I assume the script is just called with $REPO as the first parameter (second if you include $0)
Am I doing something wrong or is this a bug?
There's two issues here. The first is the one you're describing seems to think the path doesn't exist. I'd do things in this order
I just had a try myself to see if I could get your set up to work and it was fine.
Let us know if you need any more help.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did! So, this week's Friday Fun thread w...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs