From d9a2f1cf4d5f5a0fb5eed667e00ce45b78d33851 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 21 Jan 2016 11:42:26 -0500 Subject: Fixing non travis build --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-1-g7c22