1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 05:28:15 -05:00

add braces

This commit is contained in:
Kyle Spearrin 2018-02-20 11:15:16 -05:00
parent fefda383d1
commit ec5466ec98

View File

@ -34,7 +34,7 @@ DOCKER_DIR="$OUTPUT_DIR/docker"
# Functions # Functions
function dockerComposeUp() { function dockerComposeUp() {
if [ -f "$DOCKER_DIR/docker-compose.override.yml" ] if [ -f "${DOCKER_DIR}/docker-compose.override.yml" ]
then then
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml up -d docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml up -d
else else
@ -43,7 +43,7 @@ function dockerComposeUp() {
} }
function dockerComposeDown() { function dockerComposeDown() {
if [ -f "$DOCKER_DIR/docker-compose.override.yml" ] if [ -f "${DOCKER_DIR}/docker-compose.override.yml" ]
then then
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml down docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml down
else else
@ -52,7 +52,7 @@ function dockerComposeDown() {
} }
function dockerComposePull() { function dockerComposePull() {
if [ -f "$DOCKER_DIR/docker-compose.override.yml" ] if [ -f "${DOCKER_DIR}/docker-compose.override.yml" ]
then then
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml pull docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml pull
else else