| 123456789101112131415161718192021 |
- #!/usr/bin/env bash
- set -euo pipefail
- # ensure dir
- cd -P -- "$(dirname -- "$0")/.."
- if [ "$(./scripts/get-distro.sh)" = 'windows' ]; then
- # Otherwise windows may resolve to find.exe
- FIND="/usr/bin/find"
- else
- FIND='find'
- fi
- find_app() {
- local appdir="$1"
- "$FIND" "${appdir}" -mindepth 1 -maxdepth 1 -type d
- }
- find_app 'apps'
- find_app 'lib-ee'
|