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
|
||||
BaseListNext="$BaseListNext $Class"
|
||||
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
|
||||
BaseList="$BaseListNext"
|
||||
@ -368,7 +368,7 @@ function init ()
|
||||
else
|
||||
BaseListNext="$BaseListNext $Class"
|
||||
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
|
||||
BaseList="$BaseListNext"
|
||||
|
Loading…
x
Reference in New Issue
Block a user