From: Silvio Rhatto Date: Fri, 2 Mar 2018 13:40:21 +0000 (-0300) Subject: Pushtodeploy: post-receive: check deploy target in all Makefiles X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ede05d059412b04eeed1ac989decee9b190cb30a;p=templater.git Pushtodeploy: post-receive: check deploy target in all Makefiles --- diff --git a/share/templater/pushtodeploy/files/post-receive b/share/templater/pushtodeploy/files/post-receive index c0c5a95..223f5db 100755 --- a/share/templater/pushtodeploy/files/post-receive +++ b/share/templater/pushtodeploy/files/post-receive @@ -10,7 +10,7 @@ cd .. unset GIT_DIR # Check for a Makefile deploy target or run standard deployment -if [ -e "Makefile" ] && grep -q "^deploy:" Makefile; then +if [ -e "Makefile" ] && grep -q "^deploy:" Makefile*; then make deploy else if [ -d ".git/annex" ]; then