diff --git a/Makefile b/Makefile index 51bbdfad..1df825e4 100644 --- a/Makefile +++ b/Makefile @@ -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