mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
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:
committed by
Daniel Agar
parent
77dfd111e2
commit
b0a73b5144
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Author: Pavel Kirienko <pavel.kirienko@zubax.com>
|
# Author: Pavel Kirienko <pavel.kirienko@zubax.com>
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
echo "DEBUG: kconfiglib kconfig-conf wrapper, arguments: ${@}"
|
echo "DEBUG: kconfiglib kconfig-conf wrapper, arguments: ${@}"
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
#echo "DEBUG: kconfiglib kconfig-tweak wrapper, arguments: ${@}"
|
#echo "DEBUG: kconfiglib kconfig-tweak wrapper, arguments: ${@}"
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user