From cb3e1c1d199b92781c220bf445736311a5d2be69 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 30 Apr 2019 11:01:32 -0400 Subject: [PATCH] Fix hook by using env to discover the correct location of bash as sh doesn't have [[ --- .hooks/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.hooks/pre-push b/.hooks/pre-push index 76e91732b..e76092128 100755 --- a/.hooks/pre-push +++ b/.hooks/pre-push @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash remote="$1" remote_url=$(git remote get-url $remote)