diff --git a/brokkr/brokkr.mk b/brokkr/brokkr.mk index 339302e..8b05c51 100644 --- a/brokkr/brokkr.mk +++ b/brokkr/brokkr.mk @@ -33,6 +33,7 @@ $(_BROKKR_PLUGINS_MK): $(_BROKKR_PLUGINS_SENTINEL) url="https://raw.githubusercontent.com/$(BROKKR_REPO)/$${plugin_version}/plugins/$${plugin_path}.sh"; \ echo "Downloading $${url}"; \ curl --fail -s "$$url" -o $(_BROKKR_PLUGINS_DIR)/$${plugin_path}.sh; \ + chmod -f +x $(_BROKKR_PLUGINS_DIR)/*.sh 2>/dev/null; \ echo include $(_BROKKR_PLUGINS_DIR)/$${plugin_path}.mk >> $@; \ done diff --git a/plugins/github/github-deploy.mk b/plugins/github/github-deploy.mk index 9193296..570de2e 100644 --- a/plugins/github/github-deploy.mk +++ b/plugins/github/github-deploy.mk @@ -10,7 +10,7 @@ AUTO_MERGE=true define deploy @echo Checking diff local against remote - ./github-deploy.sh \ + $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/github-deploy.sh \ $(strip $1) \ ${AUTO_MERGE} \ $(strip $(if $2, $2, deploy))