Browse Source

Makefile: sync_test je víc user-friendly

Pavel
middleware_test
MaM Web user 5 years ago
parent
commit
5efed702be
  1. 2
      Makefile

2
Makefile

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

Loading…
Cancel
Save