diff options
Diffstat (limited to 'share/qbs/modules/nsis/NSISModule.qbs')
-rwxr-xr-x | share/qbs/modules/nsis/NSISModule.qbs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/qbs/modules/nsis/NSISModule.qbs b/share/qbs/modules/nsis/NSISModule.qbs index 77a72436b..f0756178e 100755 --- a/share/qbs/modules/nsis/NSISModule.qbs +++ b/share/qbs/modules/nsis/NSISModule.qbs @@ -180,21 +180,21 @@ Module { var inputFileNames = []; for (i in inputs.nsi) { - inputFileNames.push(FileInfo.fileName(inputs.nsi[i].fileName)); + inputFileNames.push(FileInfo.fileName(inputs.nsi[i].filePath)); if (product.moduleProperty("qbs", "hostOS").contains("windows")) { - args.push(FileInfo.toWindowsSeparators(inputs.nsi[i].fileName)); + args.push(FileInfo.toWindowsSeparators(inputs.nsi[i].filePath)); } else { - args.push(inputs.nsi[i].fileName); + args.push(inputs.nsi[i].filePath); } } // Output file name - this goes last to override any OutFile command in the script - args.push(opt + "XOutFile " + output.fileName); + args.push(opt + "XOutFile " + output.filePath); var cmd = new Command(ModUtils.moduleProperty(product, "compilerPath"), args); cmd.description = "compiling " + inputFileNames.join(", "); cmd.highlight = "compiler"; - cmd.workingDirectory = FileInfo.path(output.fileName); + cmd.workingDirectory = FileInfo.path(output.filePath); return cmd; } } |