diff --git a/services/scripts/list_services.sh b/services/scripts/list_services.sh index 9307740d6..28d8289a1 100755 --- a/services/scripts/list_services.sh +++ b/services/scripts/list_services.sh @@ -1,16 +1,17 @@ #!/usr/bin/env bash set -e find . -maxdepth 1 \ + -type d \ ! -name "base-image" \ ! -name "docker-compose.yml" \ ! -name "package.json" \ ! -name "scripts" \ ! -name "node_modules" \ ! -name "commtest" \ ! -name "lib" \ ! -name "terraform" \ ! -name ".*" \ - -execdir echo {} ';' + -print0 | xargs -0 -n1 basename