Skip to content

Commit 456fb2b

Browse files
giordanoKristofferC
authored andcommitted
[deps] Replace -L option to xargs with -n (#41583)
Busybox `xargs` doesn't support `-L` option, so building Julia fails on Alpine Linux for example (cherry picked from commit da28c17)
1 parent e4217a4 commit 456fb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/tools/bb-install.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ifneq (bsdtar,$(findstring bsdtar,$(TAR_TEST)))
5151
@# work-around a gtar bug: they do some complicated work to avoid the mkdir
5252
@# syscall, which is buggy when working with Tar.jl files so we manually do
5353
@# the mkdir calls first in a pre-pass
54-
$(TAR) -tzf $$< | xargs -L 1 dirname | sort -u | (cd $$(build_prefix) && xargs -t mkdir -p)
54+
$(TAR) -tzf $$< | xargs -n 1 dirname | sort -u | (cd $$(build_prefix) && xargs -t mkdir -p)
5555
endif
5656
$(UNTAR) $$< -C $$(build_prefix)
5757
echo '$$(UNINSTALL_$(strip $1))' > $$@

0 commit comments

Comments
 (0)