summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2017-09-14 08:39:35 +0200
committerChristopher Speller <crspeller@gmail.com>2017-09-13 23:39:35 -0700
commit9fc7845112692b2dcca2b928e463fade7a5bfb7b (patch)
tree5bf76ed0a3359fe558cef70adadeb3b5743fb83a /Makefile
parentb4d662cce48824db835bf73c0274fead3cb2c7de (diff)
downloadchat-9fc7845112692b2dcca2b928e463fade7a5bfb7b.tar.gz
chat-9fc7845112692b2dcca2b928e463fade7a5bfb7b.tar.bz2
chat-9fc7845112692b2dcca2b928e463fade7a5bfb7b.zip
Avoid error linking client dist directory every time (#7438)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b5ae7a55f..72bcf76a1 100644
--- a/Makefile
+++ b/Makefile
@@ -374,7 +374,9 @@ run-cli: start-docker
run-client:
@echo Running mattermost client for development
- ln -s $(BUILD_WEBAPP_DIR)/dist client
+ @if [ ! -e client ]; then \
+ ln -s $(BUILD_WEBAPP_DIR)/dist client; \
+ fi
cd $(BUILD_WEBAPP_DIR) && $(MAKE) run
run-client-fullmap: