diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-02-18 16:01:53 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-03-11 02:43:46 +0100 |
| commit | b0824ad9315e3a61f61ff7e040c0be54ad506b60 (patch) | |
| tree | 38c0c05fa1976b75d7ad06d72c38414285386b40 /src/opengl/doc/snippets/snippets.pro | |
| parent | 19b7f854a274812d9c95fc7aaf134a12530c105f (diff) | |
coin: Preserve quoted arguments when calling cmake / configure
Previously we used sh $* for passing parameters of various calls like
cmake / configure. This did not properly preserve quoted arguments,
leading to potential issues.
For example when configuring qtbase with
cmake -DQT_QMAKE_DEVICE_OPTIONS="DISTRO_OPTS=hard-float boot2qt"
the 'boot2qt' option would be passed as a separate argument to cmake,
leading to the QT_QMAKE_DEVICE_OPTIONS cache var containing only
'DISTRO_OPTS=hard-float'.
Use "$@" to preserve the quotes.
Inspired by
https://wiki.bash-hackers.org/scripting/posparams#all_positional_parameters
Amends e9b8837c31041326a0e4d66eed6775d385913915
Pick-to: 6.2 6.3
Change-Id: Ib67d4bc138c65f7430457cb2a2baa55bff72e549
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/opengl/doc/snippets/snippets.pro')
0 files changed, 0 insertions, 0 deletions
