mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-15 09:11:37 +08:00
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.
9 lines
268 B
Bash
Executable File
9 lines
268 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
# update PATH to include kconfiglib scripts
|
|
export PATH=${DIR}:${PATH}
|
|
|
|
make --no-print-directory --silent CONFIG_ARCH_BOARD_CUSTOM=y CONFIG_APPS_DIR="../apps" olddefconfig
|