]> gitweb.fluxo.info Git - templater.git/commitdiff
Pushtodeploy: post-receive: check deploy target in all Makefiles
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Mar 2018 13:40:21 +0000 (10:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Mar 2018 13:40:21 +0000 (10:40 -0300)
share/templater/pushtodeploy/files/post-receive

index c0c5a950bdf96890fde55c06f125e6e3bf3228e7..223f5dbc8fbe74080ab29d6bf85b32e28a5a90b5 100755 (executable)
@@ -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