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

Chris Johns chrisj at rtems.org
Tue Mar 21 03:39:33 UTC 2017


Module:    rtems
Branch:    4.11
Commit:    2ea436a167683c3606edbaddbd2e44e79d79c7d0
Changeset: http://git.rtems.org/rtems/commit/?id=2ea436a167683c3606edbaddbd2e44e79d79c7d0

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Mar 21 14:38:59 2017 +1100

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

Closes #2827.

---

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

diff --git a/rtems-bsps b/rtems-bsps
index 023212c..096dc47 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