Makefile: při sync_test_media maž soubory navíc

This commit is contained in:
Matěj Kocián 2017-04-29 14:47:53 +02:00
parent 75794b5e48
commit f180494f8a

View file

@ -98,7 +98,7 @@ deploy_prod:
sync_test_media: sync_test_media:
@if [ ${USER} != "www-mam" ]; then echo "Only possible by user www-mam"; exit 1; fi @if [ ${USER} != "www-mam" ]; then echo "Only possible by user www-mam"; exit 1; fi
@if [ `pwd` != "/akce/MaM/WWW/mamweb-test" ]; then echo "Only possible in /akce/MaM/WWW/mamweb-test"; exit 1; fi @if [ `pwd` != "/akce/MaM/WWW/mamweb-test" ]; then echo "Only possible in /akce/MaM/WWW/mamweb-test"; exit 1; fi
rsync -av /akce/MaM/WWW/mamweb-prod/media/ ./media rsync -av --delete /akce/MaM/WWW/mamweb-prod/media/ ./media
# Sync test database with production database # Sync test database with production database
sync_test_db: sync_test_db: