summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-hooks/post-merge2
-rwxr-xr-xscripts/hooks-wrapper.sh2
-rwxr-xr-xscripts/install-git-hooks.sh2
-rwxr-xr-xscripts/optimize_js.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/git-hooks/post-merge b/git-hooks/post-merge
index 28c1ecb11..f80a03834 100755
--- a/git-hooks/post-merge
+++ b/git-hooks/post-merge
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
if [[ -z "$GIT_DIR" ]]; then
GIT_DIR="$(dirname "$(realpath "$0")")/../.git"
diff --git a/scripts/hooks-wrapper.sh b/scripts/hooks-wrapper.sh
index e89a3567d..2730d3394 100755
--- a/scripts/hooks-wrapper.sh
+++ b/scripts/hooks-wrapper.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
if [ -x $0.local ]; then
$0.local "$@" || exit $?
fi
diff --git a/scripts/install-git-hooks.sh b/scripts/install-git-hooks.sh
index 63faa345b..9a76c3e35 100755
--- a/scripts/install-git-hooks.sh
+++ b/scripts/install-git-hooks.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
SCRIPTS_DIR=$(realpath $(dirname "$0"))
HOOK_DIR=$(realpath "$SCRIPTS_DIR/../.git/hooks")
HOOK_NAMES="applypatch-msg pre-applypatch post-applypatch pre-commit prepare-commit-msg commit-msg post-commit pre-rebase post-checkout post-merge pre-receive update post-receive post-update pre-auto-gc"
diff --git a/scripts/optimize_js.sh b/scripts/optimize_js.sh
index 33f130b56..82e9a25e6 100755
--- a/scripts/optimize_js.sh
+++ b/scripts/optimize_js.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/sh
+#!/bin/bash
script_dir=$(dirname "$0")
js_dir="$script_dir/../data/js"