From ff399f13261f5e0916bcc35769da6409a292f2ac Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 14 Mar 2018 19:43:58 -0700 Subject: [PATCH] contrib/rootfs-builder: Use $(cat rootfs-files) The previous $(< rootfs-files) is a Bashism that's not part of POSIX command substitution [1]. For Bash, the $(< ...) form is slightly faster (no need to exec cat), but not everyone uses Bash. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03 Signed-off-by: W. Trevor King --- contrib/rootfs-builder/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/rootfs-builder/Makefile b/contrib/rootfs-builder/Makefile index 9af382ba1..a17adc09c 100644 --- a/contrib/rootfs-builder/Makefile +++ b/contrib/rootfs-builder/Makefile @@ -15,7 +15,7 @@ rootfs/%/bin/busybox: downloads/stage3-%-current.tar rootfs-files sudo rm -rf rootfs/$* sudo mkdir -p rootfs/$* sudo tar -xvf downloads/stage3-$*-current.tar -C rootfs/$* \ - --no-recursion --wildcards $$(< rootfs-files) + --no-recursion --wildcards $$(cat rootfs-files) sudo touch $@ .PRECIOUS: rootfs/%/bin/echo