Browse Source

scripts: Allow use of bash outside of /bin

Even though bash is commonly available as /bin/bash there are
exceptions (e.g NixOS). This commit allow the use of the scripts in my
environment and is generic.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
pull/43524/head
Otavio Salvador 3 years ago committed by Carles Cufí
parent
commit
e2edb3e405
  1. 2
      boards/x86/common/scripts/build_grub.sh
  2. 2
      scripts/checkpatch/check_known_checkpatch_issues.sh
  3. 2
      scripts/checkpatch/maintainer-checkpatch.bash
  4. 2
      scripts/checkpatch/timestamp
  5. 2
      scripts/coccicheck
  6. 2
      tests/net/all/check_net_options.sh

2
boards/x86/common/scripts/build_grub.sh

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Originally from the Galileo port in contiki
# https://github.com/otcshare/contiki-x86

2
scripts/checkpatch/check_known_checkpatch_issues.sh

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

2
scripts/checkpatch/maintainer-checkpatch.bash

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (c) 2015 Wind River Systems, Inc.

2
scripts/checkpatch/timestamp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (c) 2015 Wind River Systems, Inc.

2
scripts/coccicheck

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0
#

2
tests/net/all/check_net_options.sh

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

Loading…
Cancel
Save