Skip to content

Commit 2cf5a2d

Browse files
more debugging
Signed-off-by: Lamont Granquist <[email protected]>
1 parent 4d6a266 commit 2cf5a2d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/omnibus/health_check.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ def health_check_freebsd
382382

383383
pp shellout("find #{project.install_dir}/ -type f | xargs file").stdout
384384

385-
read_shared_libs("find #{project.install_dir}/ -type f | xargs file | grep \"ELF\" | awk -F: '{print $1}' | sed -e 's/:$//'", "xargs -n 1 ldd") do |line|
386-
pp line
385+
read_shared_libs("find #{project.install_dir}/ -type f | xargs file | grep \"ELF\" | awk -F: '{print $1}' | sed -e 's/:$//'", "xargs -n 1 echo") do |line|
387386
case line
388387
when /^(.+):$/
389388
current_library = Regexp.last_match[1]
@@ -418,7 +417,6 @@ def health_check_linux
418417
bad_libs = {}
419418
good_libs = {}
420419

421-
# This algorithm runs on both Linux and FreeBSD and needs to be MANUALLY tested on both
422420
read_shared_libs("find #{project.install_dir}/ -type f", "xargs ldd") do |line|
423421
case line
424422
when /^(.+):$/

0 commit comments

Comments
 (0)