mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
add braces
This commit is contained in:
parent
fefda383d1
commit
ec5466ec98
@ -34,7 +34,7 @@ DOCKER_DIR="$OUTPUT_DIR/docker"
|
||||
# Functions
|
||||
|
||||
function dockerComposeUp() {
|
||||
if [ -f "$DOCKER_DIR/docker-compose.override.yml" ]
|
||||
if [ -f "${DOCKER_DIR}/docker-compose.override.yml" ]
|
||||
then
|
||||
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml up -d
|
||||
else
|
||||
@ -43,7 +43,7 @@ function dockerComposeUp() {
|
||||
}
|
||||
|
||||
function dockerComposeDown() {
|
||||
if [ -f "$DOCKER_DIR/docker-compose.override.yml" ]
|
||||
if [ -f "${DOCKER_DIR}/docker-compose.override.yml" ]
|
||||
then
|
||||
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml down
|
||||
else
|
||||
@ -52,7 +52,7 @@ function dockerComposeDown() {
|
||||
}
|
||||
|
||||
function dockerComposePull() {
|
||||
if [ -f "$DOCKER_DIR/docker-compose.override.yml" ]
|
||||
if [ -f "${DOCKER_DIR}/docker-compose.override.yml" ]
|
||||
then
|
||||
docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.override.yml pull
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user