Skip to content

Commit

Permalink
Fix hook by using env to discover the correct location of bash as sh …
Browse files Browse the repository at this point in the history
…doesn't have [[
  • Loading branch information
jefferai committed Apr 30, 2019
1 parent 6cd9580 commit 2f08df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .hooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

remote="$1"
remote_url=$(git remote get-url $remote)
Expand Down

0 comments on commit 2f08df4

Please sign in to comment.