aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bootstrap.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2022-05-23 12:31:51 +0200
committerLoïc Hoguin <[email protected]>2022-05-23 12:31:51 +0200
commit714995dddd7162b1269a8902ac9b435dadebf7f3 (patch)
treec12875b643cb2c07142d1e3614eb1309768b2c9d /plugins/bootstrap.mk
parent42dddaebf4cb958d9552aebbaeb63d9f9c9baff5 (diff)
downloaderlang.mk-714995dddd7162b1269a8902ac9b435dadebf7f3.tar.gz
erlang.mk-714995dddd7162b1269a8902ac9b435dadebf7f3.tar.bz2
erlang.mk-714995dddd7162b1269a8902ac9b435dadebf7f3.zip
Better fix for inserting BUILD_DEPS += relx
Diffstat (limited to 'plugins/bootstrap.mk')
-rw-r--r--plugins/bootstrap.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk
index 3d659f5..6238eb1 100644
--- a/plugins/bootstrap.mk
+++ b/plugins/bootstrap.mk
@@ -451,8 +451,7 @@ endif
$(verbose) mkdir config/
$(verbose) $(call core_render,bs_sys_config,config/sys.config)
$(verbose) $(call core_render,bs_vm_args,config/vm.args)
- $(verbose) sed '/^include erlang.mk/i BUILD_DEPS += relx' Makefile > Makefile.tmp
- $(verbose) mv Makefile.tmp Makefile
+ $(verbose) sed -i'' -e $$'/^include erlang.mk/i\\\nBUILD_DEPS += relx\\\n' Makefile
new-app:
ifndef in