diff --git a/priv/templates/fbsd/Makefile b/priv/templates/fbsd/Makefile index 2d79af9..26e7108 100644 --- a/priv/templates/fbsd/Makefile +++ b/priv/templates/fbsd/Makefile @@ -153,7 +153,7 @@ $(BUILD_STAGE_DIR): buildrel # * Ensure all binaries are executable # * copy the vars.config over for build config buildrel: - OVERLAY_VARS="overlay_vars=../fbsd/vars.config" $(MAKE) deps rel + OVERLAY_VARS="overlay_vars=../fbsd/vars.config" $(MAKE) rel chmod 0755 rel/{{package_install_name}}/bin/* rel/{{package_install_name}}/erts-*/bin/* $(BUILDDIR): diff --git a/priv/templates/fbsdng/Makefile b/priv/templates/fbsdng/Makefile index 15d021c..f23c77f 100644 --- a/priv/templates/fbsdng/Makefile +++ b/priv/templates/fbsdng/Makefile @@ -94,7 +94,7 @@ $(BUILD_STAGE_DIR): buildrel # * Ensure all binaries are executable # * copy the vars.config over for build config buildrel: - OVERLAY_VARS="overlay_vars=../fbsdng/vars.config" $(MAKE) deps rel + OVERLAY_VARS="overlay_vars=../fbsdng/vars.config" $(MAKE) rel chmod 0755 rel/{{package_install_name}}/bin/* rel/{{package_install_name}}/erts-*/bin/* $(BUILDDIR): diff --git a/priv/templates/smartos/Makefile b/priv/templates/smartos/Makefile index d1a219f..e68d9e5 100644 --- a/priv/templates/smartos/Makefile +++ b/priv/templates/smartos/Makefile @@ -243,7 +243,7 @@ patch_runner: buildrel # * Ensure all binaries are executable # * copy the vars.config over for build config buildrel: $(BUILDDIR) smartos_check - OVERLAY_VARS="overlay_vars=../smartos/vars.config" $(MAKE) deps rel + OVERLAY_VARS="overlay_vars=../smartos/vars.config" $(MAKE) rel chmod 0755 $(BUILDDIR)/rel/{{package_install_name}}/bin/* $(BUILDDIR)/rel/{{package_install_name}}/erts-*/bin/* $(BUILDDIR): diff --git a/priv/templates/solaris/Makefile b/priv/templates/solaris/Makefile index 8fd5139..79d4cff 100644 --- a/priv/templates/solaris/Makefile +++ b/priv/templates/solaris/Makefile @@ -26,7 +26,7 @@ buildrel: @# Make sure we set our EUID properly @# Ye Olde Bourne Shell on Solaris means we have to do it old school echo "Using `which erl` to build"; \ - OVERLAY_VARS="overlay_vars=../solaris/vars.config" $(MAKE) deps rel + OVERLAY_VARS="overlay_vars=../solaris/vars.config" $(MAKE) rel chmod 0755 rel/{{package_install_name}}/bin/* \ rel/{{package_install_name}}/erts-*/bin/* if [ "{{bin_or_sbin}}" != "bin" ]; then \