Fix hook by using env to discover the correct location of bash as sh doesn't have [[

This commit is contained in:
Jeff Mitchell
2019-04-30 11:01:32 -04:00
parent 6cd9580476
commit 2f08df4067

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
remote="$1"
remote_url=$(git remote get-url $remote)