Skip to content

Commit 27da508

Browse files
committed
build: fix kmod package build on non-GNU systems
BSD paste requires a filename argument, and it accepts - to use stdin as intended. Signed-off-by: Felix Fietkau <[email protected]>
1 parent d71ffb9 commit 27da508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kernel.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ define ModuleAutoLoad
131131
}; \
132132
$(3) \
133133
if [ -n "$$$$$$$$modules" ]; then \
134-
modules="$$$$$$$$(echo "$$$$$$$$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ')"; \
134+
modules="$$$$$$$$(echo "$$$$$$$$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ' -)"; \
135135
mkdir -p $(2)/etc/modules.d; \
136136
mkdir -p $(2)/CONTROL; \
137137
echo "#!/bin/sh" > $(2)/CONTROL/postinst-pkg; \

0 commit comments

Comments
 (0)