summaryrefslogtreecommitdiff
path: root/util/gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/gitconfig')
-rwxr-xr-xutil/gitconfig/commit-msg2
-rwxr-xr-xutil/gitconfig/pre-commit2
-rwxr-xr-xutil/gitconfig/test/commit-message-hook.sh2
-rw-r--r--util/gitconfig/test/helpers.sh2
-rwxr-xr-xutil/gitconfig/test/timeout.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/util/gitconfig/commit-msg b/util/gitconfig/commit-msg
index f0c0b659e2..99c8941be4 100755
--- a/util/gitconfig/commit-msg
+++ b/util/gitconfig/commit-msg
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/util/gitconfig/pre-commit b/util/gitconfig/pre-commit
index 7b7ab4846c..8b571a72df 100755
--- a/util/gitconfig/pre-commit
+++ b/util/gitconfig/pre-commit
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
##
## SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/gitconfig/test/commit-message-hook.sh b/util/gitconfig/test/commit-message-hook.sh
index a99570f198..f231f1425e 100755
--- a/util/gitconfig/test/commit-message-hook.sh
+++ b/util/gitconfig/test/commit-message-hook.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
diff --git a/util/gitconfig/test/helpers.sh b/util/gitconfig/test/helpers.sh
index 2e8b4070f9..fbb844264b 100644
--- a/util/gitconfig/test/helpers.sh
+++ b/util/gitconfig/test/helpers.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
diff --git a/util/gitconfig/test/timeout.sh b/util/gitconfig/test/timeout.sh
index 989afcc2b4..2d600f4a77 100755
--- a/util/gitconfig/test/timeout.sh
+++ b/util/gitconfig/test/timeout.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by