diff --git a/scripts/find-apps.sh b/scripts/find-apps.sh index 82743dd20..1f199269c 100755 --- a/scripts/find-apps.sh +++ b/scripts/find-apps.sh @@ -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