diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-01-21 11:42:26 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-01-21 11:42:26 -0500 |
commit | d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851 (patch) | |
tree | a063e20dcd7d4a9447f32c1f154b8a0a1a8390ca | |
parent | d2d75c8602e46b1288417b07f994b67d8503d068 (diff) | |
download | chat-d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851.tar.gz chat-d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851.tar.bz2 chat-d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851.zip |
Fixing non travis build
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |