From 2692500aed7797e92582d7e2071865b156865a38 Mon Sep 17 00:00:00 2001 From: Michael Lynch Date: Thu, 26 Sep 2024 20:44:39 -0400 Subject: [PATCH] Use more portable shebang (#180) --- dev-scripts/build | 2 +- dev-scripts/check-style | 2 +- dev-scripts/fix-style | 2 +- dev-scripts/hooks/enable-hooks | 2 +- dev-scripts/hooks/pre-commit | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-scripts/build b/dev-scripts/build index d36c70b..cfafb7a 100755 --- a/dev-scripts/build +++ b/dev-scripts/build @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Exit build script on first failure. set -e diff --git a/dev-scripts/check-style b/dev-scripts/check-style index fccd757..837ce26 100755 --- a/dev-scripts/check-style +++ b/dev-scripts/check-style @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Checks formatting for non-Python files. diff --git a/dev-scripts/fix-style b/dev-scripts/fix-style index c6b1686..2a8dbc0 100755 --- a/dev-scripts/fix-style +++ b/dev-scripts/fix-style @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Fixes formatting for non-Python files. diff --git a/dev-scripts/hooks/enable-hooks b/dev-scripts/hooks/enable-hooks index 8d18082..aa6c980 100755 --- a/dev-scripts/hooks/enable-hooks +++ b/dev-scripts/hooks/enable-hooks @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Run this to enable all git hooks for this project. diff --git a/dev-scripts/hooks/pre-commit b/dev-scripts/hooks/pre-commit index c1f798b..7e28372 100755 --- a/dev-scripts/hooks/pre-commit +++ b/dev-scripts/hooks/pre-commit @@ -1,2 +1,2 @@ -#!/bin/bash +#!/usr/bin/env bash ./dev-scripts/build