Skip to content
Snippets Groups Projects
Commit d0c0cc67 authored by Yoann Guilhem's avatar Yoann Guilhem Committed by Nicola Vigano
Browse files

Update gtVersion

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@949 4c865b51-4357-4376-afb4-474e03ccb993
parent eb1c79ee
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ if ~isempty(lang)
end
% Guess svn info related to DCT_DIR
[status, result] = system(['svn info ' GT_MATLAB_HOME]);
[status, result] = system(['svn info --non-interactive ' GT_MATLAB_HOME]);
% Set back LANG env variable
if ~isempty(lang)
......@@ -38,7 +38,7 @@ else
if ~isempty(svnStruct)
for i=1:length(svnStruct)
svnField = strrep(svnStruct(i).svnPar, ' ', '_');
svnInfo = setfield(svnInfo, svnField, svnStruct(i).svnValue);
svnInfo.(svnField) = svnStruct(i).svnValue;
end
disp(['SVN repository URL: ' svnInfo.URL]);
disp(['SVN revision number: ' svnInfo.Revision]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment