We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38823dc commit 0c92d83Copy full SHA for 0c92d83
1 file changed
tools/setup
@@ -3,7 +3,9 @@
3
# Build your development environment. Running this on an already-built
4
# environment will update to the latest dependencies.
5
6
-export OSX=$(expr $(uname | tr '[:upper:]' '[:lower:]') == "darwin*")
+set -e
7
+
8
+export OSX=$(uname | grep -i '^darwin')
9
10
if ! docker-compose -v &> /dev/null
11
then
@@ -19,9 +21,15 @@ then
19
21
exit 1
20
22
fi
23
24
+if ! docker info &> /dev/null
25
+then
26
+ echo "Before running this script, start the Docker application"
27
+ exit 1
28
+fi
29
30
if [ -z $OSX ]
31
- set -ex
32
+ set -x
33
ln -si docker-compose.sync.yml docker-compose.override.yml
34
else
35
set -ex
0 commit comments