forked from Imagelibrary/rtems
Fix rtems-bsps for GNU find hosts.
Fixed as reported by Pavel: https://lists.rtems.org/pipermail/devel/2015-December/013189.html Closes #2498.
This commit is contained in:
@@ -5,13 +5,12 @@ base_e=$(echo ${base} | sed -e 's/\//\\\//g')
|
|||||||
|
|
||||||
last_arch=""
|
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
|
max_bsp_len=0
|
||||||
arch_count=0
|
arch_count=0
|
||||||
bsp_count=0
|
bsp_count=0
|
||||||
|
|
||||||
#set -x
|
|
||||||
for bsp_path in ${cfg_list};
|
for bsp_path in ${cfg_list};
|
||||||
do
|
do
|
||||||
arch=$(echo ${bsp_path} | sed -e "s/${base_e}*\///" -e 's/\/.*//')
|
arch=$(echo ${bsp_path} | sed -e "s/${base_e}*\///" -e 's/\/.*//')
|
||||||
|
|||||||
Reference in New Issue
Block a user