diff --git a/env_support/cmsis-pack/gen_pack.sh b/env_support/cmsis-pack/gen_pack.sh index 148e6af69..d9ccd2007 100644 --- a/env_support/cmsis-pack/gen_pack.sh +++ b/env_support/cmsis-pack/gen_pack.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Version: 1.1 # Date: 2022-01-11 # This bash script generates a CMSIS Software Pack: diff --git a/scripts/build_html_examples.sh b/scripts/build_html_examples.sh index 4c66ed73d..89e856eca 100755 --- a/scripts/build_html_examples.sh +++ b/scripts/build_html_examples.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" CURRENT_REF="$(git rev-parse HEAD)" diff --git a/scripts/find_version.sh b/scripts/find_version.sh index c58bbc41c..48ebe3b14 100755 --- a/scripts/find_version.sh +++ b/scripts/find_version.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Credit: https://stackoverflow.com/a/4774063 SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" TMPENVFILE=$(mktemp /tmp/lvgl.script.XXXXXX) diff --git a/scripts/genexamplelist.sh b/scripts/genexamplelist.sh index 6547c002b..450ec7806 100755 --- a/scripts/genexamplelist.sh +++ b/scripts/genexamplelist.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "/* Autogenerated */" echo '#include ' echo '#include "examplelist.h"'