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
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/olimex-lpc1766stk/README.txt for information about
# this file.
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/open1788/README.txt for information about
# this file.
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#############################################################################
# boards/mcu123-lpc214x/lpc21isp.sh
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/zp214xpa/README.txt for information about
# this file.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
###########################################################################
# boards/ea3131/locked/mklocked.sh
#
+1 -1
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
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
TOPDIR=$1
USAGE="$0 <TOPDIR> [-d]"
+1 -1
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
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters
@@ -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
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/olimex-lpc-h3131/README.txt for information about
# this file.
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# boards/lpc4357-evb/scripts/flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
####################################################################################
# flash.sh
#
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/atmel_same70_xplained.cfg/README.txt for information about
# this file.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
dfu-util -a1 -d 1eaf:0003 -D nuttx.bin -R
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
cd tools
./configure.sh maple/$1
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Get command line parameters
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#############################################################################
# boards/stm32f429-disco/tools/fbcalc.sh
#
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Set up pathes to binaries, scripts, configuration files
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/dk-tm4c129x/README.txt for information about
# this file.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/lm3s6965-ek/README.txt for information about
# this file.
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/lm4f120-launchpad/README.txt for information about
# this file.
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/tm4c123g-launchpad/README.txt for information about
# this file.
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# See boards/tm4c1294-launchpad/README.txt for information about
# this file.
+1 -1
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..
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
############################################################################
# boards/z16/z16f2811/z16f2800100zcog/tools/dopatch.sh
#
+1 -1
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
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/copydir.sh
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/define.sh
#
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+1 -1
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.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/indent.sh
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/link.sh
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# mkconfivars.sh
#
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# mkctags.sh
#
# Copyright (C) 2013 Ken pettit All rights reserved.
+1 -1
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.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# File: mkimage.sh
#
+2 -2
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"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/mkromfsimg.sh
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/mkwindeps.sh
#
# Copyright (C) 2016 Gregory Nutt. All rights reserved.
+1 -1
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.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tools/sethost.sh
#
# Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
############################################################################
# tools/showsize.sh
#

Some files were not shown because too many files have changed in this diff Show More