call pre-/post-local without explicit shell
This commit is contained in:
parent
f3847dc668
commit
a401b251c1
4
Makefile
4
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"
|
||||
|
|
Loading…
Reference in New Issue