diff --git a/bin/git-abort b/bin/git-abort index 078c3da..cd7e067 100755 --- a/bin/git-abort +++ b/bin/git-abort @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Abort a rebase, merge, `am`, a cherry-pick or a revert, depending on the situation. @@ -16,5 +16,5 @@ elif [[ -e .git/MERGE_MODE ]] ; then exec git merge --abort "$@" else echo git-abort: unknown state - exit -1 + exit 1 fi diff --git a/bin/git-continue b/bin/git-continue index 9bebe0d..9649ec9 100755 --- a/bin/git-continue +++ b/bin/git-continue @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Continue a rebase or cherry-pick in the event of conflicts. @@ -12,5 +12,5 @@ elif [[ -e .git/rebase-merge ]] ; then exec git rebase --continue "$@" else echo git-abort: unknown state - exit -1 + exit 1 fi