diff options
author | Chris Johns <chrisj@rtems.org> | 2015-12-16 11:48:41 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-12-16 12:04:47 +1100 |
commit | 51de51dafeed669e24d7608ea84baae6bd8dc3fe (patch) | |
tree | 24b7f834e69217407045ac89ea41d6c89c1877a2 /rtems-bsps | |
parent | Display only valid BSPs, ignore other .cfg files. (diff) | |
download | rtems-51de51dafeed669e24d7608ea84baae6bd8dc3fe.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 'rtems-bsps')
-rwxr-xr-x | rtems-bsps | 3 |
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/\/.*//') |