[rtems commit] Fix rtems-bsps for GNU find hosts.
Chris Johns
chrisj at rtems.org
Wed Dec 16 01:06:09 UTC 2015
Module: rtems
Branch: 4.11
Commit: 51de51dafeed669e24d7608ea84baae6bd8dc3fe
Changeset: http://git.rtems.org/rtems/commit/?id=51de51dafeed669e24d7608ea84baae6bd8dc3fe
Author: Chris Johns <chrisj at rtems.org>
Date: Wed Dec 16 11:48:41 2015 +1100
Fix rtems-bsps for GNU find hosts.
Fixed as reported by Pavel:
https://lists.rtems.org/pipermail/devel/2015-December/013189.html
Closes #2498.
---
rtems-bsps | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/rtems-bsps b/rtems-bsps
index 173c438..023212c 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/\/.*//')
More information about the vc
mailing list