Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit 9c541f3

Browse files
mistydemeosjackman
andcommitted
portable-package: calculate deps using -n
Co-authored-by: Shaun Jackman <[email protected]>
1 parent d476c6b commit 9c541f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/portable-package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def portable_package
3737
Homebrew.args.named.each do |name|
3838
name = "portable-#{name}" unless name.start_with? "portable-"
3939
begin
40-
deps = Utils.popen_read("brew", "deps", "--include-build", name).split("\n")
40+
deps = Utils.popen_read("brew", "deps", "-n", "--include-build", name).split("\n")
4141

4242
# Avoid installing glibc. Bottles depend on glibc.
4343
safe_system "brew", "install", "--build-bottle", *deps if OS.linux?

0 commit comments

Comments
 (0)