1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +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:
Thomas Eichinger 2015-11-18 13:36:51 +01:00
parent 2b1a0dc902
commit 72ee60b9d5
20 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
sleep 2
setsid -w avarice $1 &
#sleep 2 && $2/avr-gdb-wrapper -ex "target remote localhost:$3" $4

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
sleep 2
avarice $1

View File

@ -1,4 +1,4 @@
#/bin/bash
#/usr/bin/env bash
linux_checkid() {
udevinfo -a -n ${1} | grep -q "ATTRS{product}==\"${2}\""

View File

@ -1,4 +1,4 @@
#/bin/bash
#/usr/bin/env bash
if [ $# -le 0 ]; then
echo "usage: $0 [openocd interface name] [openocd args]" >&2

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
args=($@)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (C) 2015 Eistec AB
#
# This file is subject to the terms and conditions of the GNU Lesser General

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (C) 2015 Eistec AB
#

View File

@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash
#
# Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
#

View File

@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash
#
# Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
test -f ~/.buildbot && . ~/.buildbot

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
ROOT=${ROOT:-.}
TOOLROOT=${TOOLROOT:-${ROOT}}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
LOG=${1}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
TOOLROOT=${TOOLROOT:-.}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# directory to install compiled binaries into
PREFIX=${HOME}/gnuarm

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# directory to install compiled binaries into
PREFIX=${HOME}/gnuarm-naked

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# directory to download source files and store intermediates
[[ -z $TARGET ]] && TARGET=i586-none-elf

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (C) 2015 Philipp Rosenkranz <philipp.rosenkranz@fu-berlin.de>
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (C) 2015 Eistec AB

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -z "${CHECKOUT_FOLDER}" ]; then
echo 'export CHECKOUT_FOLDER before running this script' >&2

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -z "${PKG_URL}" ]; then
echo 'export PKG_URL before running this script' >&2
exit 2