summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-02-01 01:33:33 +0100
committerCorey Hulen <corey@hulen.com>2018-01-31 16:33:33 -0800
commit963176ab2ae22760176c6c3d3179549925307ac0 (patch)
treedf4089917f70f580f4f34f52d8d4e44aa9f4b718 /Makefile
parent629bdb314e4b4c735fa3a5b961ab7185eb74618c (diff)
downloadchat-963176ab2ae22760176c6c3d3179549925307ac0.tar.gz
chat-963176ab2ae22760176c6c3d3179549925307ac0.tar.bz2
chat-963176ab2ae22760176c6c3d3179549925307ac0.zip
Don't remove data dirs from vendor directory (#8173)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4830dcf45..ca8fafdb3 100644
--- a/Makefile
+++ b/Makefile
@@ -477,7 +477,7 @@ clean: stop-docker ## Clean up everything except persistant server data.
cd $(BUILD_WEBAPP_DIR) && $(MAKE) clean
- find . -type d -name data | xargs rm -r
+ find . -type d -name data -not -path './vendor/*' | xargs rm -r
rm -rf logs
rm -f mattermost.log