summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-01-21 11:42:26 -0500
committerChristopher Speller <crspeller@gmail.com>2016-01-21 11:42:26 -0500
commitd9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851 (patch)
treea063e20dcd7d4a9447f32c1f154b8a0a1a8390ca /Makefile
parentd2d75c8602e46b1288417b07f994b67d8503d068 (diff)
downloadchat-d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851.tar.gz
chat-d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851.tar.bz2
chat-d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851.zip
Fixing non travis build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2781a585..eb25f40f2 100644
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,9 @@ package:
sed -i'.bak' 's|libs.min.js|libs-$(BUILD_NUMBER).min.js|g' $(DIST_PATH)/web/templates/head.html
rm $(DIST_PATH)/web/templates/*.bak
- mv $(DIST_PATH)/config/config.json.bak $(DIST_PATH)/config/config.json
+ if [ "$(TRAVIS_DB)" != "" ]; then \
+ mv $(DIST_PATH)/config/config.json.bak $(DIST_PATH)/config/config.json; \
+ fi
tar -C dist -czf $(DIST_PATH).tar.gz mattermost