fix looping if there is partial match in base class
This commit is contained in:
parent
3efdb9f4d1
commit
cd658d9af9
4
builder
4
builder
@ -337,7 +337,7 @@ function init ()
|
|||||||
else
|
else
|
||||||
BaseListNext="$BaseListNext $Class"
|
BaseListNext="$BaseListNext $Class"
|
||||||
fi
|
fi
|
||||||
done < <(grep -rihPo "\s.+extends\s${Base}" "${MutSource}/${Package}" | awk '{ print $1 }')
|
done < <(grep -rihPo "\s.+extends\s${Base}(\W|$)" "${MutSource}/${Package}" | awk '{ print $1 }')
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
BaseList="$BaseListNext"
|
BaseList="$BaseListNext"
|
||||||
@ -368,7 +368,7 @@ function init ()
|
|||||||
else
|
else
|
||||||
BaseListNext="$BaseListNext $Class"
|
BaseListNext="$BaseListNext $Class"
|
||||||
fi
|
fi
|
||||||
done < <(grep -rihPo "\s.+extends\s${Base}" "${MutSource}/${Package}" | awk '{ print $1 }')
|
done < <(grep -rihPo "\s.+extends\s${Base}(\W|$)" "${MutSource}/${Package}" | awk '{ print $1 }')
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
BaseList="$BaseListNext"
|
BaseList="$BaseListNext"
|
||||||
|
Loading…
Reference in New Issue
Block a user