Skip to content

Commit

Permalink
Correct working dir while checking out /x/sys/windows/registry version.
Browse files Browse the repository at this point in the history
  • Loading branch information
remeh committed Oct 16, 2019
1 parent 97787d1 commit f1ae118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/software/datadog-gohai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# Windows depends on the registry, go get that.
if ohai["platform"] == "windows"
command "#{gobin} get -d golang.org/x/sys/windows/registry", :env => env
command "git checkout 5f54ce54270977bfbd7353a37e64c13d6bd6c9c9", :env => env, :cwd => "#{Omnibus::Config.cache_dir}/src/golang.org/x/sys/windows/registry"
command "git checkout 5f54ce54270977bfbd7353a37e64c13d6bd6c9c9", :env => env, :cwd => "#{Omnibus::Config.cache_dir}/src/datadog-gohai/src/golang.org/x/sys/windows/registry"
end
# Checkout and build gohai
command "#{gobin} get -d github.com/DataDog/gohai", :env => env # No need to pull latest from remote with `-u` here since the next command checks out and pulls latest
Expand Down

0 comments on commit f1ae118

Please sign in to comment.