From b3221eab65f91cfe0169ea9b1f4d183830fda62f Mon Sep 17 00:00:00 2001 From: "Martin Z. (Zimamazim)" Date: Thu, 26 Sep 2019 22:01:04 +0200 Subject: [PATCH] =?UTF-8?q?Upraven=20"deploy=5Fprod"=20v=20Makefile,=20aby?= =?UTF-8?q?=20v=20n=C4=9Bm=20fungovalo=20"cd=20.."=20odkudkoliv.?= 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 11852922..c34c0a0e 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ deploy_prod: @if [ ${USER} != "mam-web" ]; then echo "Only possible by user mam-web"; exit 1; fi @if [ `readlink -f .` != "/aux/akce/mam/www/mamweb-prod" ]; then echo "Only possible in directory mamweb-prod"; exit 1; fi @echo "Backing up production DB ..." - ( cd .. && ./backup_prod_db.sh ) + ( cd -P .. && ./backup_prod_db.sh ) @echo "Installing version from origin/master ..." git pull origin master git clean -f