shellcheck: Fix shellcheck SC2148

> Tips depend on target shell and yours is unknown. Add a shebang.

Add
```
#!/usr/bin/env bash
```

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-02-28 11:39:05 +00:00
parent c5ff513e0b
commit dbba6b056b
12 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright 2019 HyperHQ Inc. # Copyright 2019 HyperHQ Inc.
# #

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Copyright (c) 2022-2024 Intel Corporation # Copyright (c) 2022-2024 Intel Corporation
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright (c) 2018 Intel Corporation # Copyright (c) 2018 Intel Corporation
# #

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Copyright (c) 2023 Microsoft Corporation # Copyright (c) 2023 Microsoft Corporation
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Copyright (c) 2023 Microsoft Corporation # Copyright (c) 2023 Microsoft Corporation
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright (c) 2018 SUSE # Copyright (c) 2018 SUSE
# #

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright (c) 2018 SUSE # Copyright (c) 2018 SUSE
# #

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright (c) 2018 Intel Corporation # Copyright (c) 2018 Intel Corporation
# #

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright (c) 2018-2020 Intel Corporation # Copyright (c) 2018-2020 Intel Corporation
# #

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 Yash Jain, 2022 IBM Corp. # Copyright (c) 2018 Yash Jain, 2022 IBM Corp.
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 Yash Jain, 2022 IBM Corp. # Copyright (c) 2018 Yash Jain, 2022 IBM Corp.
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
@ -49,7 +51,7 @@ EOF
apt update apt update
if ! multistrap -a "$DEB_ARCH" -d "$rootfs_dir" -f "$multistrap_conf"; then if ! multistrap -a "$DEB_ARCH" -d "$rootfs_dir" -f "$multistrap_conf"; then
if [ "$OS_VERSION" = "focal" ]; then if [ "$OS_VERSION" = "focal" ]; then
echo "WARN: multistrap failed, proceed with hack for Ubuntu 20.04" echo "WARN: multistrap failed, proceed with hack for Ubuntu 20.04"
build_dbus $rootfs_dir build_dbus $rootfs_dir
else else

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# #
# Copyright (c) 2018 SUSE LLC # Copyright (c) 2018 SUSE LLC
# #