Skip to content

Commit a561f6c

Browse files
committed
- use cd() for current directory as you cannot call System.pwd inside ModelicaBuiltin.mo
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24810 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent daed35f commit a561f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/FrontEnd/ModelicaBuiltin.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@ end list;
21042104
// exportToFigaro added by Alexander Carlqvist
21052105
function exportToFigaro
21062106
input TypeName path;
2107-
input String directory = ".";
2107+
input String directory = cd();
21082108
input String database;
21092109
input String mode;
21102110
input String options;

0 commit comments

Comments
 (0)