HomePhabricator
Diffusion Comm 13c5a5e98944

[Services] Use GNU + BSD compatible find command

Description

[Services] Use GNU + BSD compatible find command

Summary:
Use -type d to make the command not error with GNU findutils.

Part of https://linear.app/comm/issue/ENG-2651

Test Plan:

On a mac, which has BSD Tools
$ cd services
$ ./scripts/list_services.sh

$ nix develop
$ ./scripts/list_services.sh

# Should produce the same output

# Run calling script
yarn run-integration-tests blob

Reviewers: varun, bartek, max

Reviewed By: bartek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6192

Details

Provenance
jonAuthored on Jan 6 2023, 3:18 PM
Reviewer
bartek
Differential Revision
D6192: [Services] Use GNU + BSD compatible find command
Parents
rCOMMc065453eb143: [Services] Lint list_services.sh
Branches
Unknown
Tags
Unknown