Merged in manuelstuehn/nuttx/feature/bsd-portable (pull request #975)

change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Manuel Stühn 2019-08-10 15:57:26 +00:00 committed by Gregory Nutt
parent 5ed743d58a
commit 5585cc421c
54 changed files with 56 additions and 56 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/olimex-lpc1766stk/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/open1788/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#############################################################################
# boards/mcu123-lpc214x/lpc21isp.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/zp214xpa/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
###########################################################################
# boards/ea3131/locked/mklocked.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# This script lies in sub-directory boards/ea3131/tools but make be executed
# from either that directory or TOPDIR

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
TOPDIR=$1
USAGE="$0 <TOPDIR> [-d]"

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# This script lies in sub-directory boards/ea3152/tools but make be executed
# from either that directory or TOPDIR

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# This script lies in sub-directory boards/olimex-lpc-h3131/tools but make be executed
# from either that directory or TOPDIR

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/olimex-lpc-h3131/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# boards/lpc4357-evb/scripts/flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/atmel_same70_xplained.cfg/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
dfu-util -a1 -d 1eaf:0003 -D nuttx.bin -R

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
cd tools
./configure.sh maple/$1

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#############################################################################
# boards/stm32f429-disco/tools/fbcalc.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Set up pathes to binaries, scripts, configuration files

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/dk-tm4c129x/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/lm3s6965-ek/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/lm4f120-launchpad/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/tm4c123g-launchpad/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/tm4c1294-launchpad/README.txt for information about
# this file.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#set -x
# This script must be executed in the NuttX top-level directory. We'll check..

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
############################################################################
# boards/z16/z16f2811/z16f2800100zcog/tools/dopatch.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/configure.sh
#
# Copyright (C) 2007, 2008, 2011, 2015, 2017-2019 Gregory Nutt. All rights

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/copydir.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/define.sh
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/incdir.sh
#
# Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/indent.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/link.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# mkconfivars.sh
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# mkctags.sh
#
# Copyright (C) 2013 Ken pettit All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/mkexport.sh
#
# Copyright (C) 2011-2012, 2014, 2016, 2019 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# File: mkimage.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/mknulldeps.sh
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
@ -31,4 +31,4 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
echo "# The selected toolchain does not support dependency generation"
echo "# The selected toolchain does not support dependency generation"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/mkromfsimg.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/mkwindeps.sh
#
# Copyright (C) 2016 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# refresh.sh
#
# Copyright (C) 2014, 2016-2017, 2019 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/sethost.sh
#
# Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/showsize.sh
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# testbuild.sh
#
# Copyright (C) 2016-2019 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/unlink.sh
#
@ -67,4 +67,4 @@ if [ -e "${link}" ]; then
exit 1
fi
fi
fi
fi

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# version.sh
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# zipme.sh
#
# Copyright (C) 2007-2011, 2013 Gregory Nutt. All rights reserved.