changeset 7902:37ac2ac0a9ae

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.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sun, 27 Oct 2019 21:01:52 +0100
parents ac6cc1b8a07e
children 948db4f4254f
files scripts/validate-commits
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/validate-commits	Sun Oct 27 20:51:04 2019 +0100
+++ b/scripts/validate-commits	Sun Oct 27 21:01:52 2019 +0100
@@ -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