diff --git a/Makefile b/Makefile index 61ff07e..80aea0a 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ buildout: ## Runs setup and buildout .PHONY: copy copy: copy-data.sh ## Runs `copy-data.sh` @# copy-data is generated by puppet when data_source is found - if ! grep -q 30_config.dic copy-data.sh; then echo '\nrsync -e "ssh -o $StrictHostKeyChecking=no" -ah --info=stats1 "$${SOURCE_HOST}:$${SOURCE_PATH}/30_config.dic" $${TARGET_PATH}/ --delete' >> copy-data.sh ; fi + if ! grep -q 30_config.dic copy-data.sh; then echo '\nrsync -e "ssh -o StrictHostKeyChecking=no" -ah --info=stats1 "$${SOURCE_HOST}:$${SOURCE_PATH}/30_config.dic" $${TARGET_PATH}/ --delete' >> copy-data.sh ; fi if [ $(copydata) = 1 ]; then ./copy-data.sh; fi # if [ $(copydata) = 1 ] && [ -f bin/solr-start ]; then ./copy-solr.sh; fi @$ echo "copy-data finished for instance $(plone), check http://$(hostname):$(instance1_port)/manage_main" | mail -s "copy-data finished" stephan.geulette@imio.be