chore(script): update find apps script, delete needless "/"
This commit is contained in:
parent
a8a9bda484
commit
06b4da8269
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue