Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confDevTools #28

Open
rmtfleming opened this issue Nov 20, 2019 · 0 comments
Open

confDevTools #28

rmtfleming opened this issue Nov 20, 2019 · 0 comments

Comments

@rmtfleming
Copy link
Member

Change function confDevTools(repoName, varargin) so that it returns some more useful output.

% check if the remoteRepoURL exists before proceeding
[status_curl, result_curl] = system(['curl -s -k --head ', tmpRemoteRepoURL]);
if ~(status_curl == 0 && ~isempty(strfind(result_curl, '200 OK')))
status_curl
result_curl
error([' [', mfilename, '] The URL (' remoteRepoURL ') is not reachable or does not exist.']);
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant