summaryrefslogtreecommitdiffstats
path: root/rtems-bsps
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-12-16 11:48:41 +1100
committerChris Johns <chrisj@rtems.org>2015-12-16 11:48:41 +1100
commit6470d02cd6ceb3fa198cb7114d39f1ce5324ee81 (patch)
tree5ff7ad9e905f82893783d364b4aec6921e7266fc /rtems-bsps
parentscore: Avoid dependency on bcopy() (diff)
downloadrtems-6470d02cd6ceb3fa198cb7114d39f1ce5324ee81.tar.bz2
Fix rtems-bsps for GNU find hosts.
Fixed as reported by Pavel: https://lists.rtems.org/pipermail/devel/2015-December/013189.html Closes #2498.
Diffstat (limited to '')
-rwxr-xr-xrtems-bsps3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtems-bsps b/rtems-bsps
index 173c438d29..023212cd8d 100755
--- a/rtems-bsps
+++ b/rtems-bsps
@@ -5,13 +5,12 @@ base_e=$(echo ${base} | sed -e 's/\//\\\//g')
last_arch=""
-cfg_list=$(LANG=C LC_COLLATE=C find ${base} -name \*.cfg -depth 5 | sort)
+cfg_list=$(LANG=C LC_COLLATE=C find ${base} -depth 5 -name \*.cfg | sort)
max_bsp_len=0
arch_count=0
bsp_count=0
-#set -x
for bsp_path in ${cfg_list};
do
arch=$(echo ${bsp_path} | sed -e "s/${base_e}*\///" -e 's/\/.*//')