|
@ -2865,7 +2865,8 @@ get_default_project_name() { |
|
|
compose_yml_location="$(get_compose_yml_location)" || return 1 |
|
|
compose_yml_location="$(get_compose_yml_location)" || return 1 |
|
|
if [ "$compose_yml_location" ]; then |
|
|
if [ "$compose_yml_location" ]; then |
|
|
if normalized_path=$(readlink -f "$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 |
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|