Skip to content

Commit 077c971

Browse files
committed
do it the hard way
1 parent 72bb559 commit 077c971

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

omnibus/config/software/cacerts.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
# This is cryptic, and not flagged as an erro.
3131
default_version "2025-08-12"
3232

33+
# IMHO, this should be equivalant to a chdir to that directory, but it is not
3334
relative_path 'src/github.com/DataDog/datadog-agent'
3435

3536
build do
@@ -40,10 +41,12 @@
4041
# Dir.chdir "#{Omnibus::Config.source_dir()}/datadog-agent/src/github.com/DataDog/datadog-agent" do
4142
# Dir.chdir "/go/src/github.com/DataDog/datadog-agent" do
4243
if windows?
43-
command "bazelisk run -- //deps/cacerts:install --destdir='#{python_3_embedded}'"
44-
command "ls -lR #{python_3_embedded}"
44+
command "cd #{Omnibus::Config.source_dir()}/datadog-agent/src/github.com/DataDog/datadog-agent && bazelisk run -- //deps/cacerts:install --destdir='#{python_3_embedded}'"
45+
command "dir #{python_3_embedded}/ssl"
4546
else
46-
command "bazelisk run -- //deps/cacerts:install --destdir='#{install_dir}/embedded'"
47+
command "cd #{Omnibus::Config.source_dir()}/datadog-agent/src/github.com/DataDog/datadog-agent && bazelisk run -- //deps/cacerts:install --destdir='#{install_dir}/embedded'"
48+
49+
# For debugging only.
4750
command "ls -lR #{install_dir}/embedded"
4851
end
4952
end

0 commit comments

Comments
 (0)