From 9cd49ff7ba5c8aa1df863f37b3df3ddb5b848289 Mon Sep 17 00:00:00 2001 From: "Martin Z. (Zimamazim)" Date: Thu, 26 Sep 2019 21:45:36 +0200 Subject: [PATCH] =?UTF-8?q?Upraven=20Makefile,=20aby=20=C5=A1el=20pustit?= =?UTF-8?q?=20"make=20deploy=5Ftest"=20i=20p=C5=99es=20symlinky.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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