Browse Source

scripts: remove hardcoding of bash hashbang

For host systems like FreeBSD, bash binary is found in a different path.
cc430
Thomas Eichinger 7 years ago
parent
commit
72ee60b9d5
  1. 2
      boards/arduino-mega2560/dist/debug.sh
  2. 2
      boards/arduino-mega2560/dist/debug_srv.sh
  3. 2
      boards/msba2-common/tools/flashutil.sh
  4. 2
      boards/pttu/tools/openocd-pttu.sh
  5. 2
      boards/x86-multiboot-common/dist/link
  6. 2
      dist/tools/drone-scripts/build_and_test.sh
  7. 2
      dist/tools/eclipsesym/cmdline2xml.sh
  8. 2
      dist/tools/pr_check/check_labels.sh
  9. 2
      dist/tools/pr_check/pr_check.sh
  10. 2
      dist/tools/testsuite/build_and_generate_html.sh
  11. 2
      dist/tools/testsuite/generate_html.sh
  12. 2
      dist/tools/testsuite/parse_buildlog.sh
  13. 2
      dist/tools/testsuite/run_tests.sh
  14. 2
      dist/tools/toolchains/build_gnuarm.sh
  15. 2
      dist/tools/toolchains/build_gnuarm_naked.sh
  16. 2
      dist/tools/toolchains/build_x86.sh
  17. 2
      dist/tools/travis-scripts/build_and_test.sh
  18. 2
      dist/tools/usb-serial/find-tty.sh
  19. 2
      pkg/libfixmath/checkout.sh
  20. 2
      pkg/libfixmath/perform-svn-checkout.sh

2
boards/arduino-mega2560/dist/debug.sh vendored

@ -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

2
boards/arduino-mega2560/dist/debug_srv.sh vendored

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

2
boards/msba2-common/tools/flashutil.sh

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

2
boards/pttu/tools/openocd-pttu.sh

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

2
boards/x86-multiboot-common/dist/link vendored

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

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
#
# This file is subject to the terms and conditions of the GNU Lesser General

2
dist/tools/eclipsesym/cmdline2xml.sh vendored

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

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>
#

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>
#

2
dist/tools/testsuite/build_and_generate_html.sh vendored

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

2
dist/tools/testsuite/generate_html.sh vendored

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

2
dist/tools/testsuite/parse_buildlog.sh vendored

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

2
dist/tools/testsuite/run_tests.sh vendored

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

2
dist/tools/toolchains/build_gnuarm.sh vendored

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

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
PREFIX=${HOME}/gnuarm-naked

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
[[ -z $TARGET ]] && TARGET=i586-none-elf

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>
#

2
dist/tools/usb-serial/find-tty.sh vendored

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

2
pkg/libfixmath/checkout.sh

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

2
pkg/libfixmath/perform-svn-checkout.sh

@ -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

Loading…
Cancel
Save