summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-06-07 13:24:13 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-06-07 13:24:13 -0700
commite79812f58751a78ebfd21806aaa1de2e6fcadff6 (patch)
treeee4b7d9bfa730037685916b6116937bab3775253
parent2c00d003b2e5bff9cab4c8514288806f418ab985 (diff)
Standardize on bash for shell scripts
Use #!/bin/bash in all shell scripts Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
-rwxr-xr-xbsp/update-targets.sh2
-rwxr-xr-xscripts/open-docs2
-rwxr-xr-xscripts/submodules-use-ssh.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/bsp/update-targets.sh b/bsp/update-targets.sh
index d26aa25..976a9c4 100755
--- a/bsp/update-targets.sh
+++ b/bsp/update-targets.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
help() {
cat >&2 <<EOF
diff --git a/scripts/open-docs b/scripts/open-docs
index 82d0f91..8ad5299 100755
--- a/scripts/open-docs
+++ b/scripts/open-docs
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/bin/bash
SDK_PATH="$( cd "$(dirname "$0")/.." ; pwd -P )"
DOCS_PATH=$SDK_PATH/doc/html/index.html
diff --git a/scripts/submodules-use-ssh.sh b/scripts/submodules-use-ssh.sh
index 25a270d..106af2b 100755
--- a/scripts/submodules-use-ssh.sh
+++ b/scripts/submodules-use-ssh.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/bin/bash
# By default, when you clone Freedom E SDK, submodules are instantiated with their
# origin URLs pointing to GitHub's HTTPS URL for the repository.