diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2023-04-18 11:08:47 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2023-04-19 12:26:37 +0300 |
commit | 08e3fca11732403e8071d4685459f326d738d0e4 (patch) | |
tree | d644d679eb86236583908ca5d4c609f7b5e3c589 | |
parent | 7827d8173c7d661d7e1f9eefbe19bd64103034c4 (diff) |
Coin: fix exec of build script on Windows
golang's exec package does not allow running executables from the
current directory with a relative path argument on Windows after
its 1.19 release. Adapt the build instructions to use an absolute
path instead.
Change-Id: I5bbb6bdee1919af322389ff4fb0980b92994bc5d
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Sami Littow <sami.littow@qt.io>
-rw-r--r-- | coin/instructions/build_licence_check.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coin/instructions/build_licence_check.yaml b/coin/instructions/build_licence_check.yaml index c446172..4375288 100644 --- a/coin/instructions/build_licence_check.yaml +++ b/coin/instructions/build_licence_check.yaml @@ -2,7 +2,7 @@ type: Group instructions: - type: ExecuteCommand - command: "./build_linux.sh" + command: "{{.AgentWorkingDir}}/qt/qt-license-service/build_linux.sh" maxTimeInSeconds: 6000 maxTimeBetweenOutput: 1200 userMessageOnFailure: > @@ -12,7 +12,7 @@ instructions: property: host.os equals_value: Linux - type: ExecuteCommand - command: "build_windows.bat" + command: "{{.AgentWorkingDir}}\\qt\\qt-license-service\\build_windows.bat" maxTimeInSeconds: 6000 maxTimeBetweenOutput: 1200 userMessageOnFailure: > |