Browse Source

chg: default project name won't use ``-deploy`` postfix.

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

3
bin/compose-core

@ -2865,7 +2865,8 @@ get_default_project_name() {
compose_yml_location="$(get_compose_yml_location)" || return 1
if [ "$compose_yml_location" ]; then
if normalized_path=$(readlink -f "$compose_yml_location"); then
echo "$(basename "$(dirname "$normalized_path")")"
name="$(basename "$(dirname "$normalized_path")")"
echo "${name%%-deploy}"
return 0
fi
fi

Loading…
Cancel
Save