# HG changeset patch # User Thomas De Schampheleire # Date 2019-10-27 20:01:52 # Node ID 37ac2ac0a9aee5bc22f4779b9f8785c063aa94c6 # Parent ac6cc1b8a07e6065c52aa2224d5be0e91012c9bf scripts/validate-commits: use direct /bin/bash interpreter Use of '#!/bin/bash' vs '#!/usr/bin/env bash' can be argued multiple ways. For example, see: https://stackoverflow.com/questions/21612980/why-is-usr-bin-env-bash-superior-to-bin-bash/21613039 It seems to be more common to use the first approach. And we don't have a specific reason to prefer the latter. Moreover, other scripts in this repo, like 'make-release' and 'whitespacecleanup.sh' use the former too. diff --git a/scripts/validate-commits b/scripts/validate-commits --- a/scripts/validate-commits +++ b/scripts/validate-commits @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash # Validate the specified commits against test suite and other checks. if [ -n "$VIRTUAL_ENV" ]; then