aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 22:51:35 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 22:51:35 +0300
commite369edfe99dd52319c30cbf1492e7a8ce30ce5aa (patch)
tree2d5e607686dc9e477d38d5a7c3af755e41316ccd /core
parent744a8d6cd9ea74395f9f1d05b5bb7280fe5f73ea (diff)
downloadrepository-e369edfe99dd52319c30cbf1492e7a8ce30ce5aa.tar.gz
grub: POSIX sed
Diffstat (limited to 'core')
-rwxr-xr-xcore/grub/build3
1 files changed, 2 insertions, 1 deletions
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.