1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 10:10:46 +00:00

Merge pull request #183 from setrofim/master

shuilt: re-introduce speedup
This commit is contained in:
setrofim 2017-10-05 16:55:07 +01:00 committed by GitHub
commit 98e19ae048

View File

@ -223,7 +223,10 @@ read_tree_values() {
PATHS=$($BUSYBOX find $BASEPATH -follow -maxdepth $MAXDEPTH)
i=0
for path in $PATHS; do
i=$(expr $i + 1)
i=$(expr $i + 1)
if [ $i -gt 1 ]; then
break;
fi
done
if [ $i -gt 1 ]; then
$BUSYBOX grep -s '' $PATHS