From a401b251c17b70fb7562966ca7c586aedcc219b0 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Wed, 16 Nov 2022 10:14:39 +0100 Subject: [PATCH] call pre-/post-local without explicit shell --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ac7e900..d481916 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ pre-local: ifneq (,$(wildcard pre-local.sh)) @- echo "\n### running pre-local script" @- $(foreach host,$(DEPLOY_HOSTS), \ - sh ./pre-local.sh $(host); \ + ./pre-local.sh $(host); \ ) else @- echo "\n### no pre-local script found" @@ -44,7 +44,7 @@ post-local: ifneq (,$(wildcard post-local.sh)) @- echo "\n### running post-local script" @- $(foreach host,$(DEPLOY_HOSTS), \ - sh ./post-local.sh $(host); \ + ./post-local.sh $(host); \ ) else @- echo "\n### no post-local script found"