From a99bc30e1e07b5307ad34b2114fc2e108df6a1f2 Mon Sep 17 00:00:00 2001 From: Jonas Karlsson Date: Fri, 19 Jun 2020 13:34:48 +0200 Subject: Add OS-specific prelude to qt-cmake-standalone-test This makes sure the executable is run as a shell script with the proper interpreter on Unix systems. Otherwise it will fail in some shells, like fish. On windows, it prevents all commands in the batch file from displaying on the screen. Change-Id: If554262f172b035b9661b3e2ff26a96789fa707b Reviewed-by: Alexandru Croitor --- bin/qt-cmake-standalone-test.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/qt-cmake-standalone-test.in b/bin/qt-cmake-standalone-test.in index fce287ac94..91413b21eb 100755 --- a/bin/qt-cmake-standalone-test.in +++ b/bin/qt-cmake-standalone-test.in @@ -1 +1,3 @@ +@__qt_cmake_standalone_test_os_prelude@ + @__qt_cmake_private_path@ @__qt_cmake_standalone_test_path@ -DQT_STANDALONE_TEST_PATH=@__qt_cmake_standalone_passed_args@ -- cgit v1.2.3