aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/bootstrap.mk3
1 files changed, 2 insertions, 1 deletions
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