diff --git a/Tools/Documentation/postprocess/001.cleanup_headers.sh b/Tools/Documentation/postprocess/001.cleanup_headers.sh index bd271367b..4d795216f 100755 --- a/Tools/Documentation/postprocess/001.cleanup_headers.sh +++ b/Tools/Documentation/postprocess/001.cleanup_headers.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # NOTE: The working directory should be the main capp directory when this script is run # diff --git a/Tools/Documentation/postprocess/002.transform_text.sh b/Tools/Documentation/postprocess/002.transform_text.sh index 3cd354752..656af6a73 100755 --- a/Tools/Documentation/postprocess/002.transform_text.sh +++ b/Tools/Documentation/postprocess/002.transform_text.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # NOTE: The working directory should be the main capp directory when this script is run # diff --git a/Tools/Documentation/postprocess/003.markdown_readme.sh b/Tools/Documentation/postprocess/003.markdown_readme.sh index b91d7ecee..1aaf51163 100755 --- a/Tools/Documentation/postprocess/003.markdown_readme.sh +++ b/Tools/Documentation/postprocess/003.markdown_readme.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Remove the generated README.html once the build has finished. # @@ -7,4 +7,4 @@ # $1 Cappuccino documentation directory # -rm "$1"/README.html \ No newline at end of file +rm "$1"/README.html diff --git a/Tools/Documentation/preprocess/001.markdown_readme.sh b/Tools/Documentation/preprocess/001.markdown_readme.sh index 8f23e4ef4..62d153707 100755 --- a/Tools/Documentation/preprocess/001.markdown_readme.sh +++ b/Tools/Documentation/preprocess/001.markdown_readme.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # NOTE: The working directory should be the main capp directory when this script is run # diff --git a/Tools/Documentation/preprocess/002.make_headers.sh b/Tools/Documentation/preprocess/002.make_headers.sh index 72c1dfba0..e598f31ef 100755 --- a/Tools/Documentation/preprocess/002.make_headers.sh +++ b/Tools/Documentation/preprocess/002.make_headers.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # NOTE: The working directory should be the main capp directory when this script is run # diff --git a/Tools/Documentation/support/processor_setup.sh b/Tools/Documentation/support/processor_setup.sh index 83cd03737..a2ac165f5 100755 --- a/Tools/Documentation/support/processor_setup.sh +++ b/Tools/Documentation/support/processor_setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function processor_msg () { diff --git a/Tools/Scripts/ci.sh b/Tools/Scripts/ci.sh index bb89cc298..4cce6225e 100755 --- a/Tools/Scripts/ci.sh +++ b/Tools/Scripts/ci.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash project_home="$(dirname "$PWD")" extras="$project_home/ci-extra.sh" diff --git a/Tools/capp_lint/install.sh b/Tools/capp_lint/install.sh index f28e40904..40a90bb50 100755 --- a/Tools/capp_lint/install.sh +++ b/Tools/capp_lint/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash chmod +x capp_lint diff --git a/Tools/capp_lint/pre-commit b/Tools/capp_lint/pre-commit index 4729c265b..d896cd5ff 100644 --- a/Tools/capp_lint/pre-commit +++ b/Tools/capp_lint/pre-commit @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # An example hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should