mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
scripts: remove hardcoding of bash hashbang
For host systems like FreeBSD, bash binary is found in a different path.
This commit is contained in:
parent
2b1a0dc902
commit
72ee60b9d5
2
boards/arduino-mega2560/dist/debug.sh
vendored
2
boards/arduino-mega2560/dist/debug.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
sleep 2
|
sleep 2
|
||||||
setsid -w avarice $1 &
|
setsid -w avarice $1 &
|
||||||
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4
|
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4
|
||||||
|
|||||||
2
boards/arduino-mega2560/dist/debug_srv.sh
vendored
2
boards/arduino-mega2560/dist/debug_srv.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
avarice $1
|
avarice $1
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#/bin/bash
|
#/usr/bin/env bash
|
||||||
|
|
||||||
linux_checkid() {
|
linux_checkid() {
|
||||||
udevinfo -a -n ${1} | grep -q "ATTRS{product}==\"${2}\""
|
udevinfo -a -n ${1} | grep -q "ATTRS{product}==\"${2}\""
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#/bin/bash
|
#/usr/bin/env bash
|
||||||
|
|
||||||
if [ $# -le 0 ]; then
|
if [ $# -le 0 ]; then
|
||||||
echo "usage: $0 [openocd interface name] [openocd args]" >&2
|
echo "usage: $0 [openocd interface name] [openocd args]" >&2
|
||||||
|
|||||||
2
boards/x86-multiboot-common/dist/link
vendored
2
boards/x86-multiboot-common/dist/link
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
args=($@)
|
args=($@)
|
||||||
|
|
||||||
|
|||||||
2
dist/tools/drone-scripts/build_and_test.sh
vendored
2
dist/tools/drone-scripts/build_and_test.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Copyright (C) 2015 Eistec AB
|
# Copyright (C) 2015 Eistec AB
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser General
|
# This file is subject to the terms and conditions of the GNU Lesser General
|
||||||
|
|||||||
2
dist/tools/eclipsesym/cmdline2xml.sh
vendored
2
dist/tools/eclipsesym/cmdline2xml.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (C) 2015 Eistec AB
|
# Copyright (C) 2015 Eistec AB
|
||||||
#
|
#
|
||||||
|
|||||||
2
dist/tools/pr_check/check_labels.sh
vendored
2
dist/tools/pr_check/check_labels.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
|
# Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||||
#
|
#
|
||||||
|
|||||||
2
dist/tools/pr_check/pr_check.sh
vendored
2
dist/tools/pr_check/pr_check.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
|
# Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||||
#
|
#
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
test -f ~/.buildbot && . ~/.buildbot
|
test -f ~/.buildbot && . ~/.buildbot
|
||||||
|
|
||||||
|
|||||||
2
dist/tools/testsuite/generate_html.sh
vendored
2
dist/tools/testsuite/generate_html.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
ROOT=${ROOT:-.}
|
ROOT=${ROOT:-.}
|
||||||
TOOLROOT=${TOOLROOT:-${ROOT}}
|
TOOLROOT=${TOOLROOT:-${ROOT}}
|
||||||
|
|||||||
2
dist/tools/testsuite/parse_buildlog.sh
vendored
2
dist/tools/testsuite/parse_buildlog.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
LOG=${1}
|
LOG=${1}
|
||||||
|
|
||||||
|
|||||||
2
dist/tools/testsuite/run_tests.sh
vendored
2
dist/tools/testsuite/run_tests.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
TOOLROOT=${TOOLROOT:-.}
|
TOOLROOT=${TOOLROOT:-.}
|
||||||
|
|
||||||
|
|||||||
2
dist/tools/toolchains/build_gnuarm.sh
vendored
2
dist/tools/toolchains/build_gnuarm.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# directory to install compiled binaries into
|
# directory to install compiled binaries into
|
||||||
PREFIX=${HOME}/gnuarm
|
PREFIX=${HOME}/gnuarm
|
||||||
|
|||||||
2
dist/tools/toolchains/build_gnuarm_naked.sh
vendored
2
dist/tools/toolchains/build_gnuarm_naked.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# directory to install compiled binaries into
|
# directory to install compiled binaries into
|
||||||
PREFIX=${HOME}/gnuarm-naked
|
PREFIX=${HOME}/gnuarm-naked
|
||||||
|
|||||||
2
dist/tools/toolchains/build_x86.sh
vendored
2
dist/tools/toolchains/build_x86.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# directory to download source files and store intermediates
|
# directory to download source files and store intermediates
|
||||||
[[ -z $TARGET ]] && TARGET=i586-none-elf
|
[[ -z $TARGET ]] && TARGET=i586-none-elf
|
||||||
|
|||||||
2
dist/tools/travis-scripts/build_and_test.sh
vendored
2
dist/tools/travis-scripts/build_and_test.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Copyright (C) 2015 Philipp Rosenkranz <philipp.rosenkranz@fu-berlin.de>
|
# Copyright (C) 2015 Philipp Rosenkranz <philipp.rosenkranz@fu-berlin.de>
|
||||||
#
|
#
|
||||||
|
|||||||
2
dist/tools/usb-serial/find-tty.sh
vendored
2
dist/tools/usb-serial/find-tty.sh
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2015 Eistec AB
|
# Copyright (C) 2015 Eistec AB
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ -z "${CHECKOUT_FOLDER}" ]; then
|
if [ -z "${CHECKOUT_FOLDER}" ]; then
|
||||||
echo 'export CHECKOUT_FOLDER before running this script' >&2
|
echo 'export CHECKOUT_FOLDER before running this script' >&2
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
if [ -z "${PKG_URL}" ]; then
|
if [ -z "${PKG_URL}" ]; then
|
||||||
echo 'export PKG_URL before running this script' >&2
|
echo 'export PKG_URL before running this script' >&2
|
||||||
exit 2
|
exit 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user