summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-04-19 11:57:10 +0200
committerTomasz Maczukin <tomasz@maczukin.pl>2016-04-19 11:57:10 +0200
commitb3a5f636446376d73d7ec3206a333251ef93cf57 (patch)
treec4a29575c7b844bebec0b7e1eb2dd521e2d5798e /scripts
parent161a419e3c23dcaaeda4750bba1253404ea71703 (diff)
downloadgitlab-ce-b3a5f636446376d73d7ec3206a333251ef93cf57.tar.gz
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