Skip to content

Commit

Permalink
Fix passing command to dsh shell
Browse files Browse the repository at this point in the history
  • Loading branch information
acbramley committed Aug 3, 2018
1 parent 1b056bf commit f1bee44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# `set +e` is used to continue on errors throughout this script.
set -euo pipefail
IFS=$'\n\t'

# Used as the prefix for docker networking, container naming and nginx hostname.
export PROJECT=$(basename ${PWD})
Expand Down Expand Up @@ -65,7 +64,7 @@ dsh_shell() {
docker-compose -f ${DOCKER_COMPOSE_FILE} exec \
-e COLUMNS="$(tput cols)" \
-e LINES="$(tput lines)" \
web /bin/bash
web ${@:-/bin/bash}
}

# Command: ./dsh stop
Expand Down

0 comments on commit f1bee44

Please sign in to comment.