From ea3c763de458c984007cc160183f1dbcb439a5b0 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 22 May 2024 16:02:20 +0200 Subject: [PATCH] Move shbang lines to before copyright headers They don't work unless #! are the first two bytes of the file. This is a fix-up for commit d6bc7613ac91e663f573486135946039eeccf8d7 Change-Id: I83c976a538a67eef3d40b50674a255d6e2f3205a Reviewed-by: Thiago Macieira Reviewed-by: Lucie Gerard --- tests/auto/corelib/io/qresourceengine/generateResources.sh | 2 +- tests/testserver/echo/echo.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/corelib/io/qresourceengine/generateResources.sh b/tests/auto/corelib/io/qresourceengine/generateResources.sh index 18d1e0b80f4..ab05f1c35ad 100755 --- a/tests/auto/corelib/io/qresourceengine/generateResources.sh +++ b/tests/auto/corelib/io/qresourceengine/generateResources.sh @@ -1,6 +1,6 @@ +#!/bin/sh # Copyright (C) 2016 Intel Corporation. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 -#!/bin/sh count=`awk '/ZERO_FILE_LEN/ { print $3 }' tst_qresourceengine.cpp` dd if=/dev/zero of=zero.txt bs=1 count=$count rcc --binary -o uncompressed.rcc --no-compress compressed.qrc diff --git a/tests/testserver/echo/echo.sh b/tests/testserver/echo/echo.sh index 516b4763570..d8fedb1a89e 100755 --- a/tests/testserver/echo/echo.sh +++ b/tests/testserver/echo/echo.sh @@ -1,6 +1,6 @@ +#!/usr/bin/env bash # Copyright (C) 2024 The Qt Company Ltd. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 -#!/usr/bin/env bash # Disabled by default, enable it. sed -i 's/disable\t\t= yes/disable = no/' /etc/xinetd.d/echo