summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-05-05 16:38:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 16:44:10 +0200
commit0cbb8802555ad6e81f42ce8738842854d0556296 (patch)
tree2eb9521cb9583fc5dd69d3eaeeef77e667eac371 /scripts
parent722468dae2088bcfe7b0cf9bb5185c29b740de9f (diff)
Fix shebangs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/hooks-wrapper.sh2
-rwxr-xr-xscripts/install-git-hooks.sh2
-rwxr-xr-xscripts/optimize_js.sh2
3 files changed, 3 insertions, 3 deletions
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"