Commit 9653e316 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

changed newline for older matlab versions

parent c2c5bcf1
......@@ -62,7 +62,7 @@ try
cd(repPath)
[status,commitID] = system(sprintf('git merge-base %s HEAD',sArgs.branch));
if status == 0
commitID = strrep(commitID,newline,'');
commitID = strrep(commitID,'[\n\r]+','');
else
ita_verbose_info(sprintf('Git Hash Failed: %s',commitID), 1);
commitID = '';
......@@ -72,7 +72,7 @@ try
oldID = commitID;
oldArgs = sArgs;
catch e
cd(workingDir);
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment