From d114c854427c8967b3cad82e1b0ef79309682a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 23 May 2022 14:29:30 +0200 Subject: Hopefully more portable bootstrap-rel fix --- plugins/bootstrap.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk index 6238eb1..2e0ad8f 100644 --- a/plugins/bootstrap.mk +++ b/plugins/bootstrap.mk @@ -451,7 +451,8 @@ 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 -i'' -e $$'/^include erlang.mk/i\\\nBUILD_DEPS += relx\\\n' Makefile + $(verbose) awk '/^include erlang.mk/ && !ins {print "BUILD_DEPS += relx";ins=1};{print}' Makefile > Makefile.bak + $(verbose) mv Makefile.bak Makefile new-app: ifndef in -- cgit v1.2.3