Pārlūkot izejas kodu

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

zhanghongtong 5 gadi atpakaļ
vecāks
revīzija
06b4da8269
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      scripts/find-apps.sh

+ 2 - 2
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