diff --git a/services/scripts/list_services.sh b/services/scripts/list_services.sh --- a/services/scripts/list_services.sh +++ b/services/scripts/list_services.sh @@ -3,6 +3,7 @@ set -e find . -maxdepth 1 \ + -type d \ ! -name "base-image" \ ! -name "docker-compose.yml" \ ! -name "package.json" \ @@ -12,5 +13,5 @@ ! -name "lib" \ ! -name "terraform" \ ! -name ".*" \ - -execdir echo {} ';' + -print0 | xargs -0 -n1 basename