From bba4b0bb13ac1fca434f30b513bbae6300147e59 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Wed, 1 Jul 2015 19:31:55 +0530 Subject: [PATCH] entrypoint.sh: `GITLAB_VERSION` is already defined as an environment variable --- entrypoint.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0eff6ab4..41084a95 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -712,7 +712,6 @@ appInit () { # migrate database and compile the assets if the gitlab version or relative_url has changed. CACHE_VERSION= - GITLAB_VERSION=$(cat VERSION) [[ -f tmp/cache/VERSION ]] && CACHE_VERSION=$(cat tmp/cache/VERSION) [[ -f tmp/cache/GITLAB_RELATIVE_URL_ROOT ]] && CACHE_GITLAB_RELATIVE_URL_ROOT=$(cat tmp/cache/GITLAB_RELATIVE_URL_ROOT) if [[ ${GITLAB_VERSION} != ${CACHE_VERSION} || ${GITLAB_RELATIVE_URL_ROOT} != ${CACHE_GITLAB_RELATIVE_URL_ROOT} ]]; then