aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/codegen/codegen.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/api/testdata/codegen/codegen.qbs')
-rw-r--r--tests/auto/api/testdata/codegen/codegen.qbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/api/testdata/codegen/codegen.qbs b/tests/auto/api/testdata/codegen/codegen.qbs
index 282ee4a7f..8314a4132 100644
--- a/tests/auto/api/testdata/codegen/codegen.qbs
+++ b/tests/auto/api/testdata/codegen/codegen.qbs
@@ -58,12 +58,12 @@ Project {
var args = ['echo ' + code + '>' + output.filePath]
var cmd
if (product.moduleProperty("qbs", "hostOS").contains('windows')) {
- cmd = new Command('cmd.exe', ['/C'].concat(args));
+ cmd = new Command(product.qbs.windowsShellPath, ['/C'].concat(args));
} else {
args[0] = args[0].replace(/\(/g, '\\(')
args[0] = args[0].replace(/\)/g, '\\)')
args[0] = args[0].replace(/;/g, '\\;')
- cmd = new Command('/bin/sh', ['-c'].concat(args))
+ cmd = new Command(product.qbs.shellPath, ['-c'].concat(args))
}
cmd.description = 'generate\t' + FileInfo.fileName(output.filePath);
cmd.highlight = 'codegen';