Skip to content

Commit cdeaa61

Browse files
committed
export path to homebrew
Signed-off-by: muthuja <muthujabavaji.vempalli@progress.com>
1 parent b4cad54 commit cdeaa61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/omnibus/fetchers/net_fetcher.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ def execute_tests(file_path)
163163
log.info(log_key) { "-----DEBUG-----checking gtar and xz versions and path" }
164164
shellout!("gtar --version")
165165
shellout!("which gtar")
166-
shellout!("xz --version")
166+
shellout!(export PATH="/opt/homebrew/bin/xz:$PATH")
167167
shellout!("which xz")
168+
shellout!("xz --version")
168169
log.info(log_key) { "-----DEBUG-----end of the test to here" }
169170
# Extract the archive
170171
archive_path = File.join(test_dir, File.basename(file_path))

0 commit comments

Comments
 (0)