Skip to content

Commit

Permalink
mod: s/wasabi_os_default/WASABI_OSX/g (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwtodd authored and iizrailevsky committed Oct 6, 2016
1 parent 50bc2fe commit fd7edef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ beerMe() {

start_docker() {
docker ps >/dev/null 2>&1
[[ $? != 0 && "${WASABI_OS}" == "${wasabi_os_default}" ]] && open /Applications/Docker.app
[[ $? != 0 && "${WASABI_OS}" == "${WASABI_OSX}" ]] && open /Applications/Docker.app

while :; do
docker ps >/dev/null 2>&1
Expand All @@ -80,7 +80,7 @@ start_docker() {
}

stop_docker() {
if [ "${WASABI_OS}" == "${wasabi_os_default}" ]; then
if [ "${WASABI_OS}" == "${WASABI_OSX}" ]; then
osascript -e 'quit app "Docker"'
fi
}
Expand Down

0 comments on commit fd7edef

Please sign in to comment.