Skip to content

Commit 1c68da2

Browse files
committed
portability enhancement: use "#!/usr/bin/env <interpreter>" on all perl scripts and shell scripts that use bash extensions, and use "#!/bin/sh" on the rest.
1 parent 4f4fb4b commit 1c68da2

61 files changed

Lines changed: 65 additions & 64 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Docker/buildAndPush.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Assume we're in wolfssl/Docker
44
WOLFSSL_DIR=$(builtin cd ${BASH_SOURCE%/*}/..; pwd)

Docker/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
echo "Running with \"${*}\"..."
44

Docker/yocto/buildAndPush.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Assume we're in wolfssl/Docker/yocto
44
WOLFSSL_DIR=$(builtin cd ${BASH_SOURCE%/*}/../..; pwd)

IDE/ARDUINO/sketches/wolfssl_server/README.md

Lines changed: 1 addition & 1 deletion

IDE/Espressif/ESP-IDF/compileAllExamples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# testing script: compileAllExamples
44
#

IDE/Espressif/ESP-IDF/examples/wolfssl_test/testAll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# testAll.sh [keyword suffix]
44
#

IDE/Espressif/ESP-IDF/examples/wolfssl_test/testMonitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# Syntax:
44
# ./testMonitor.sh <example_name> <target> <keyword>

IDE/Espressif/ESP-IDF/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# check if IDF_PATH is set
44
if [ -z "$IDF_PATH" ]; then

IDE/HEXAGON/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
if [ -z $1 ]; then
33
echo "./build <Debug | Release>"
44
exit 1

IDE/Renesas/e2studio/Projects/tools/generate_rsa_keypair.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
function usage(){
44
cat << _EOT_

0 commit comments

Comments
 (0)