Upraven Makefile, aby šel pustit "make deploy_test" i přes symlinky.

This commit is contained in:
Martin Z. (Zimamazim) 2019-09-26 21:45:36 +02:00
parent de2b9de120
commit 9cd49ff7ba

View file

@ -64,7 +64,7 @@ schema_all.pdf:
# Deploy to current *mamweb-test* directory
deploy_test:
@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 directory mamweb-test"; exit 1; fi
@echo "Installing version from origin/test ..."
git pull origin test
git clean -f