platforms/nuttx: change bash references

There is a platform, NixOS Linux, on which '/bin/bash' is not available.
This commit changes the interpreter to '/usr/bin/env bash' in some
scripts essential to firmware building.
This commit is contained in:
Martin Povišer 2020-10-30 15:07:43 +01:00 committed by Daniel Agar
parent 77dfd111e2
commit b0a73b5144
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Author: Pavel Kirienko <pavel.kirienko@zubax.com>
#

View File

@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
echo "DEBUG: kconfiglib kconfig-conf wrapper, arguments: ${@}"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

View File

@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
#echo "DEBUG: kconfiglib kconfig-tweak wrapper, arguments: ${@}"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

View File

@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"