From ede05d059412b04eeed1ac989decee9b190cb30a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 2 Mar 2018 10:40:21 -0300 Subject: Pushtodeploy: post-receive: check deploy target in all Makefiles --- share/templater/pushtodeploy/files/post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3