From e369edfe99dd52319c30cbf1492e7a8ce30ce5aa Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 23 May 2020 22:51:35 +0300 Subject: grub: POSIX sed --- core/grub/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/grub/build b/core/grub/build index c937d263..10513bf0 100755 --- a/core/grub/build +++ b/core/grub/build @@ -8,7 +8,8 @@ export PYTHON=/bin/true # the Python tooling. The /bin/true above will create a # blank file, this prevents the blank file from overwriting # the existing one. -sed -i 's/mv $@.new $@/:/g' grub/Makefile.in +sed 's/mv $@.new $@/:/g' grub/Makefile.in > _ +cat _ > grub/Makefile.in; rm -f _ # Strip '-march' from 'CFLAGS' as per advice from upstream. # Fixes build fails on specific hardware. -- cgit v1.2.3