Skip to content

Commit

Permalink
brew_dumper: fix HEAD installation
Browse files Browse the repository at this point in the history
We have started to record commit information in the HEAD prefix.
  • Loading branch information
xu-cheng committed Jul 25, 2016
1 parent 07ef740 commit 9ea1bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundle/brew_dumper.rb
Expand Up @@ -79,7 +79,7 @@ def self.formula_inspector(f)

if keg
args = keg["used_options"].to_a.map { |option| option.gsub(/^--/, "") }
args << "HEAD" if keg["version"] == "HEAD"
args << "HEAD" if keg["version"].to_s.start_with?("HEAD")
args << "devel" if keg["version"].to_s.gsub(/_\d+$/, "") == f["versions"]["devel"]
args.uniq!
version = keg["version"]
Expand Down

0 comments on commit 9ea1bb5

Please sign in to comment.