chore(script): update find apps script, delete needless "/"

This commit is contained in:
zhanghongtong 2021-04-02 18:00:06 +08:00 committed by Zaiming (Stone) Shi
parent a8a9bda484
commit 06b4da8269
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ cd -P -- "$(dirname -- "$0")/.."
find_app() {
local appdir="$1"
find "${appdir}/" -mindepth 1 -maxdepth 1 -type d
find "${appdir}" -mindepth 1 -maxdepth 1 -type d
}
find_app 'apps'
@ -20,4 +20,4 @@ fi
## find directories in lib-extra
find_app 'lib-extra'
## find symlinks in lib-extra
find 'lib-extra/' -mindepth 1 -maxdepth 1 -type l -exec test -e {} \; -print
find 'lib-extra' -mindepth 1 -maxdepth 1 -type l -exec test -e {} \; -print