I'm trying to create a custom action for git-ftp. I've created a shell script that works fine when run on its own in the Terminal. However, when run by the Custom Action, it says that sftp is not supported by libcurl.
When I run curl -V in Terminal, sftp seems to be supported.
When I run curl -V in the shell script called by SourceTree, sftp is not supported.
What difference is there in running the code via Terminal or via SourceTree?
It is very common for programs to 'cleanup' the environment to give a consistent behavior. It is also possible for the environment variable to not be passed along. It is also probable more environmental variables that might need to be setup as well.
There is also a curl configuration file that might need some adjusting. It could be your libcurl needs to setup or referenced correctly.
I would find someone within your organization who has more experience linux with writing programs or shell scripting to help you out. This is a common issue when trying to use programs on linux.
We can play the question game here, but it would be a very slow process.
Thanks for your response, I appreciate your help. Nobody in my organization really knows about this stuff, so I'm trying to Google my way of of this.
I don't need any quick solutions but I'm trying to find the root cause so I have something to go on. Can you give me any hints on what to look for?
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot