Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-04-19 12:57:10 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2016-04-19 12:57:10 +0300
commitb3a5f636446376d73d7ec3206a333251ef93cf57 (patch)
treec4a29575c7b844bebec0b7e1eb2dd521e2d5798e /scripts
parent161a419e3c23dcaaeda4750bba1253404ea71703 (diff)
Fix prepare build execution in docker environment
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 4a7ee7dbb64..247383aa46c 100755
--- a/scripts/prepare_build.sh
+++ b/scripts/prepare_build.sh
@@ -11,7 +11,7 @@ retry() {
return 1
}
-if [ -f /.dockerinit ]; then
+if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
mkdir -p vendor
# Install phantomjs package