Skip to content

Commit

Permalink
Fixes #7390: Change global variable $/ to $INPUT_RECORD_SEPARATOR.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Sep 9, 2014
1 parent ffb61fd commit 8292ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/generate-contributors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def syscall(*cmd)
stdout, _stderr, status = Open3.capture3(*cmd)
status.success? && stdout.slice!(0..-(1 + $/.size)) # strip trailing eol
status.success? && stdout.slice!(0..-(1 + $INPUT_RECORD_SEPARATOR.size))
end

log = syscall("git log --pretty=format:'%h %s XX %aN <%cE>' | grep -v Merge")
Expand Down

0 comments on commit 8292ec8

Please sign in to comment.