Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: normalize the shebang to bash through /usr/bin/env #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/console
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash/
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/kill
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/monitor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/poweroff
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/ssh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion cmd/vars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion common/defaults
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion common/rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion common/shellcheck
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/generate-cloud-config-seed-freebsd.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later

set -euo pipefail
Expand Down
2 changes: 1 addition & 1 deletion contrib/generate-cloud-config-seed.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later

set -euo pipefail
Expand Down
2 changes: 1 addition & 1 deletion examples/vm/aarch64-virt-base.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Q35-based base vm config
#
Expand Down
2 changes: 1 addition & 1 deletion examples/vm/common.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# vmctl run parameters
QEMU_IMG=$(/usr/bin/which qemu-img)
Expand Down
2 changes: 1 addition & 1 deletion examples/vm/nvme-aarch64.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

QEMU_SYSTEM_AARCH64=$(/usr/bin/which qemu-system-aarch64)
GUEST_BOOT_BASE="img/debian-13-genericcloud-arm64.qcow2"
Expand Down
2 changes: 1 addition & 1 deletion examples/vm/nvme-cortex-a57.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

GUEST_BOOT_BASE="img/debian-13-genericcloud-arm64.qcow2"
GUEST_CPU="cortex-a57"
Expand Down
2 changes: 1 addition & 1 deletion examples/vm/nvme-vfio.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

source "x86_64-q35-base.conf"

Expand Down
2 changes: 1 addition & 1 deletion examples/vm/nvme.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

QEMU_SYSTEM_X86_64=$(/usr/bin/which qemu-system-x86_64)

Expand Down
2 changes: 1 addition & 1 deletion examples/vm/subsys.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

source "x86_64-q35-base.conf"

Expand Down
2 changes: 1 addition & 1 deletion examples/vm/x86_64-q35-base.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Q35-based base vm config
#
Expand Down
2 changes: 1 addition & 1 deletion examples/vm/zns.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# use the same boot image as the nvme configuration
GUEST_BOOT="img/nvme.qcow2"
Expand Down
2 changes: 1 addition & 1 deletion lib/qemu/nvme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/qemu/pcie
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/qemu/rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion vmctl-init-conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-late
#
# Run source vmctl-init-conf <confdir>
Expand Down
Loading