diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-05-05 16:38:22 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-05 16:44:10 +0200 |
commit | 0cbb8802555ad6e81f42ce8738842854d0556296 (patch) | |
tree | 2eb9521cb9583fc5dd69d3eaeeef77e667eac371 | |
parent | 722468dae2088bcfe7b0cf9bb5185c29b740de9f (diff) |
Fix shebangs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | git-hooks/post-merge | 2 | ||||
-rwxr-xr-x | scripts/hooks-wrapper.sh | 2 | ||||
-rwxr-xr-x | scripts/install-git-hooks.sh | 2 | ||||
-rwxr-xr-x | scripts/optimize_js.sh | 2 |
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" |