[rtems commit] Config (.cfg) files are only valid if deeper than 5.

Chris Johns chrisj at rtems.org
Wed Jul 6 03:01:44 UTC 2016


Module:    rtems
Branch:    master
Commit:    8aa75d0cb18c25fab2078a7641bd823bf0e93999
Changeset: http://git.rtems.org/rtems/commit/?id=8aa75d0cb18c25fab2078a7641bd823bf0e93999

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Jul  6 13:01:39 2016 +1000

Config (.cfg) files are only valid if deeper than 5.

---

 rtems-bsps | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtems-bsps b/rtems-bsps
index 1d617b9..cff020f 100755
--- a/rtems-bsps
+++ b/rtems-bsps
@@ -5,7 +5,7 @@ base_e=$(echo ${base} | sed -e 's/\//\\\//g')
 
 last_arch=""
 
-cfg_list=$(LANG=C LC_COLLATE=C find ${base} -depth 5 -name \*.cfg | sort)
+cfg_list=$(LANG=C LC_COLLATE=C find ${base} -mindepth 5 -name \*.cfg | sort)
 
 max_bsp_len=0
 arch_count=0




More information about the vc mailing list