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 # flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# #
# See boards/olimex-lpc1766stk/README.txt for information about # See boards/olimex-lpc1766stk/README.txt for information about
# this file. # this file.
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# #
# See boards/open1788/README.txt for information about # See boards/open1788/README.txt for information about
# this file. # this file.
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#################################################################################### ####################################################################################
# flash.sh # flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
############################################################################# #############################################################################
# boards/mcu123-lpc214x/lpc21isp.sh # 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 # See boards/zp214xpa/README.txt for information about
# this file. # this file.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
########################################################################### ###########################################################################
# boards/ea3131/locked/mklocked.sh # 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 # This script lies in sub-directory boards/ea3131/tools but make be executed
# from either that directory or TOPDIR # from either that directory or TOPDIR
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
TOPDIR=$1 TOPDIR=$1
USAGE="$0 <TOPDIR> [-d]" 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 # This script lies in sub-directory boards/ea3152/tools but make be executed
# from either that directory or TOPDIR # from either that directory or TOPDIR
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Get command line parameters # 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 # This script lies in sub-directory boards/olimex-lpc-h3131/tools but make be executed
# from either that directory or TOPDIR # 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 # See boards/olimex-lpc-h3131/README.txt for information about
# this file. # this file.
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#################################################################################### ####################################################################################
# flash.sh # flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#################################################################################### ####################################################################################
# flash.sh # flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#################################################################################### ####################################################################################
# flash.sh # flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#################################################################################### ####################################################################################
# boards/lpc4357-evb/scripts/flash.sh # boards/lpc4357-evb/scripts/flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#################################################################################### ####################################################################################
# flash.sh # flash.sh
# #
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# #
# See boards/atmel_same70_xplained.cfg/README.txt for information about # See boards/atmel_same70_xplained.cfg/README.txt for information about
# this file. # this file.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Get command line parameters # 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 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 cd tools
./configure.sh maple/$1 ./configure.sh maple/$1
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Get command line parameters # Get command line parameters
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Get command line parameters # Get command line parameters
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Get command line parameters # Get command line parameters
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
############################################################################# #############################################################################
# boards/stm32f429-disco/tools/fbcalc.sh # boards/stm32f429-disco/tools/fbcalc.sh
# #
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# Set up pathes to binaries, scripts, configuration files # 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 # See boards/dk-tm4c129x/README.txt for information about
# this file. # 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 # See boards/lm3s6965-ek/README.txt for information about
# this file. # this file.
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# #
# See boards/lm4f120-launchpad/README.txt for information about # See boards/lm4f120-launchpad/README.txt for information about
# this file. # this file.
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# #
# See boards/tm4c123g-launchpad/README.txt for information about # See boards/tm4c123g-launchpad/README.txt for information about
# this file. # this file.
@@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
# #
# See boards/tm4c1294-launchpad/README.txt for information about # See boards/tm4c1294-launchpad/README.txt for information about
# this file. # this file.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#set -x #set -x
# This script must be executed in the NuttX top-level directory. We'll check.. # 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 # boards/z16/z16f2811/z16f2800100zcog/tools/dopatch.sh
# #
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# tools/configure.sh # tools/configure.sh
# #
# Copyright (C) 2007, 2008, 2011, 2015, 2017-2019 Gregory Nutt. All rights # 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 # tools/copydir.sh
# #
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# tools/define.sh # tools/define.sh
# #
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # 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 # tools/incdir.sh
# #
# Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. # 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 # tools/indent.sh
# #
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
############################################################################ ############################################################################
# tools/link.sh # tools/link.sh
# #
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# mkconfivars.sh # mkconfivars.sh
# #
# Copyright (C) 2013 Gregory Nutt. All rights reserved. # Copyright (C) 2013 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# mkctags.sh # mkctags.sh
# #
# Copyright (C) 2013 Ken pettit All rights reserved. # 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 # tools/mkexport.sh
# #
# Copyright (C) 2011-2012, 2014, 2016, 2019 Gregory Nutt. All rights reserved. # 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 # File: mkimage.sh
# #
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# tools/mknulldeps.sh # tools/mknulldeps.sh
# #
# Copyright (C) 2008 Gregory Nutt. All rights reserved. # Copyright (C) 2008 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
############################################################################ ############################################################################
# tools/mkromfsimg.sh # tools/mkromfsimg.sh
# #
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# tools/mkwindeps.sh # tools/mkwindeps.sh
# #
# Copyright (C) 2016 Gregory Nutt. All rights reserved. # Copyright (C) 2016 Gregory Nutt. All rights reserved.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# refresh.sh # refresh.sh
# #
# Copyright (C) 2014, 2016-2017, 2019 Gregory Nutt. All rights reserved. # 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 # tools/sethost.sh
# #
# Copyright (C) 2016-2017 Gregory Nutt. All rights reserved. # 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 # tools/showsize.sh
# #

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