Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Don't print error-message about missing impact
Browse files Browse the repository at this point in the history
This fixes ticket:4573.

Belonging to [maintenance/v1.12]:
  - #2140
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Jan 31, 2018
1 parent 9f49978 commit 2da00c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScriptBackend.mo
Expand Up @@ -2078,7 +2078,7 @@ algorithm
files = List.flatten(List.map(mps, System.moFiles));
dirs = List.flatten(List.map(mps, getLibrarySubdirectories));
files = List.map(List.map1(listAppend(files,dirs), System.strtok, ". "), listHead);
(str, status) = System.popen("impact search '' | perl -pe 's/\\e\\[?.*?[\\@-~]//g' | grep '[^ :]*:' | cut -d: -f1 2>&1");
(str, status) = System.popen("impact search '' 2>&1 | perl -pe 's/\\e\\[?.*?[\\@-~]//g' | grep '[^ :]*:' | cut -d: -f1 2>&1");
if 0==status then
files = listAppend(System.strtok(str,"\n"), files);
end if;
Expand Down

0 comments on commit 2da00c1

Please sign in to comment.