You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
239 B
15 lines
239 B
#!/bin/bash
|
|
# Grab OS type
|
|
if [[ "$(uname)" == "Darwin" ]]; then
|
|
OS_TYPE="OSX"
|
|
else
|
|
OS_TYPE=$(expr substr $(uname -s) 1 5)
|
|
fi
|
|
|
|
DOCKER_CMD=docker
|
|
|
|
if [[ $OS_TYPE == "MINGW" ]]; then
|
|
DOCKER_CMD="winpty docker"
|
|
fi
|
|
|
|
export DOCKER_CMD
|