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 7e039c5ae9
commit cb3e1c1d19
1 changed files with 1 additions and 1 deletions

View File

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