summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-04-10 18:41:35 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-04-10 18:41:35 +0800
commita9945a6500351331426226efe80631f81cb832aa (patch)
treec3cc1f641a5ab550d08e55ab9546ec9c3f06a37f /scripts
parent75ded1c73e5c1499947a3c951d9af54abfd2fd5c (diff)
downloadgitlab-ce-a9945a6500351331426226efe80631f81cb832aa.tar.gz
Replace on host rather than socket, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812377
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prepare_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh
index f170743aea3..b8d8cc2851a 100755
--- a/scripts/prepare_build.sh
+++ b/scripts/prepare_build.sh
@@ -14,7 +14,7 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
else # Assume it's mysql
sed -i 's/username:.*/username: root/g' config/database.yml
sed -i 's/password:.*/password:/g' config/database.yml
- sed -i 's/# socket:.*/host: mysql/g' config/database.yml
+ sed -i 's/# host:.*/host: mysql/g' config/database.yml
fi
cp config/resque.yml.example config/resque.yml