Browse Source

fix: ``-f COMPOSE_FILE`` didn't work as expected

hostresources
Valentin Lab 6 years ago
parent
commit
88c574feb5
  1. 3
      bin/compose-core

3
bin/compose-core

@ -3698,8 +3698,7 @@ while read-0 arg; do
-f|--file)
read-0 value
[ -e "$value" ] || die "File $value doesn't exists"
export DEFAULT_COMPOSE_FILE="$value"
compose_opts+=("--file $value")
export COMPOSE_YML_FILE="$value"
shift
;;
-p|--project-name)

Loading…
Cancel
Save