summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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: