Skip to content

Commit

Permalink
Fixed bug with whitespace in OPENMODELICAHOME path in compileModel.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2472 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Aug 18, 2006
1 parent dc47506 commit 9679035
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/Ceval.mo
Expand Up @@ -2744,8 +2744,8 @@ algorithm
libsfilename = stringAppend(fileprefix, ".libs");
libs_str = Util.stringDelimitList(libs, " ");
System.writeFile(libsfilename, libs_str);
s_call = Util.stringAppendList({"\"",omhome_1,pd,"bin",pd,"Compile","\""," ",fileprefix,
" ", omhome_1});
s_call = Util.stringAppendList({"set OPENMODELICAHOME=",omhome_1,"&& \"",
omhome_1,pd,"bin",pd,"Compile","\""," ",fileprefix});
// print(s_call);
0 = System.systemCall(s_call) ;
then
Expand All @@ -2761,7 +2761,7 @@ algorithm
libs_str = Util.stringDelimitList(libs, " ");
libsfilename = stringAppend(fileprefix, ".libs");
System.writeFile(libsfilename, libs_str);
s_call = Util.stringAppendList({command," ",fileprefix," ",omhome_1});
s_call = Util.stringAppendList({"set OPENMODELICAHOME=",omhome_1,"&& ",command," ",fileprefix});
// print(s_call);
0 = System.systemCall(s_call) ;
then
Expand Down

0 comments on commit 9679035

Please sign in to comment.