From c7cb95f38604840af381355672e6915a629da414 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Thu, 16 Nov 2017 19:45:29 -0500 Subject: [PATCH] Fixed travis build --- .env | 2 +- webodm.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 3c532618..ea34ae2a 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ HOST=localhost PORT=8000 -APP_MEDIA_DIR=appmedia +MEDIA_DIR=appmedia diff --git a/webodm.sh b/webodm.sh index fc972504..d8c69ac2 100755 --- a/webodm.sh +++ b/webodm.sh @@ -16,7 +16,7 @@ if [[ $platform = "Windows" ]]; then export COMPOSE_CONVERT_WINDOWS_PATHS=1 fi -# Set default ENV variables +# Set default env variables export PORT="${WEBODM_PORT:=8000}" export HOST="${WEBODM_HOST:=localhost}" export MEDIA_DIR="${WEBODM_MEDIA_DIR:=appmedia}" @@ -135,7 +135,7 @@ if [[ $1 = "start" ]]; then echo "============" echo "Make sure to issue a $0 down if you decide to change the environment." echo "" - + start elif [[ $1 = "stop" ]]; then environment_check