Skip to content

Commit

Permalink
prevent sed error, closes issue fbzhong#2
Browse files Browse the repository at this point in the history
  • Loading branch information
nouse committed Oct 15, 2013
1 parent 55c01c4 commit 6c848e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-gerrit
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ remove_track() {
return
fi
local branch="${1:-$CURRENT}"
sed -i '' -e "/$branch:/d" "$GERRIT_TRACK"
sed -i -e "/$branch:/d" "$GERRIT_TRACK"
}

get_change_number_from_branch() {
Expand Down

0 comments on commit 6c848e3

Please sign in to comment.