scilab: in builder.sce use absolute path for source files
This commit is contained in:
parent
ef687d801e
commit
c88292ad89
1 changed files with 2 additions and 2 deletions
|
|
@ -821,9 +821,9 @@ public:
|
||||||
for (int i = 0; i < Len(sourceFileList); i++) {
|
for (int i = 0; i < Len(sourceFileList); i++) {
|
||||||
String *sourceFile = Getitem(sourceFileList, i);
|
String *sourceFile = Getitem(sourceFileList, i);
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
Printf(builderCode, "files = \"%s\";\n", sourceFile);
|
Printf(builderCode, "files = fullpath(\"%s\");\n", sourceFile);
|
||||||
} else {
|
} else {
|
||||||
Printf(builderCode, "files($ + 1) = \"%s\";\n", sourceFile);
|
Printf(builderCode, "files($ + 1) = fullpath(\"%s\");\n", sourceFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue