|
@ -2150,7 +2150,7 @@ get_default_project_name() { |
|
|
fi |
|
|
fi |
|
|
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 -e "$compose_yml_location"); then |
|
|
|
|
|
|
|
|
if normalized_path=$(readlink -f "$compose_yml_location"); then |
|
|
echo "$(basename "$(dirname "$normalized_path")")" |
|
|
echo "$(basename "$(dirname "$normalized_path")")" |
|
|
return 0 |
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|