summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2018-09-21 12:05:37 +0000
committerDouwe Maan <douwe@gitlab.com>2018-09-21 12:05:37 +0000
commiteb640eded77a89daad6f6f4c691b0bd7f283da37 (patch)
treefb87e9e99c52efca8e7d50d0baf9590e8553484c /bin
parentabab0cd68a154efc97f9fcc096cbf97169c38dfd (diff)
downloadgitlab-ce-eb640eded77a89daad6f6f4c691b0bd7f283da37.tar.gz
Correct Gitlab Capitalization in code files
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkgr_before_precompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkgr_before_precompile.sh b/bin/pkgr_before_precompile.sh
index 5a2007f4ab0..54ff32c711b 100755
--- a/bin/pkgr_before_precompile.sh
+++ b/bin/pkgr_before_precompile.sh
@@ -6,7 +6,7 @@ for file in config/*.yml.example; do
cp ${file} config/$(basename ${file} .example)
done
-# Allow to override the Gitlab URL from an environment variable, as this will avoid having to change the configuration file for simple deployments.
+# Allow to override the GitLab URL from an environment variable, as this will avoid having to change the configuration file for simple deployments.
config=$(echo '<% gitlab_url = URI(ENV["GITLAB_URL"] || "http://localhost:80") %>' | cat - config/gitlab.yml)
echo "$config" > config/gitlab.yml
sed -i "s/host: localhost/host: <%= gitlab_url.host %>/" config/gitlab.yml