aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-02 10:40:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-02 10:40:21 -0300
commitede05d059412b04eeed1ac989decee9b190cb30a (patch)
treef385121382e08bb2caf681c341aca7184bbccd51 /share
parentc504db5fd016222db13cd6493d95ecd94e3d1994 (diff)
downloadtemplater-ede05d059412b04eeed1ac989decee9b190cb30a.tar.gz
templater-ede05d059412b04eeed1ac989decee9b190cb30a.tar.bz2
Pushtodeploy: post-receive: check deploy target in all Makefiles
Diffstat (limited to 'share')
-rwxr-xr-xshare/templater/pushtodeploy/files/post-receive2
1 files changed, 1 insertions, 1 deletions
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