mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Only validate features committed to git
Change-Id: Icd2427c515bb0cc79e9179ba00216c173264ca17 Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
This commit is contained in:
parent
6e19332c33
commit
1073159011
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ set -e # error out on any failed commands
|
|||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
|
||||
echo "Normalizing branding content on all features"
|
||||
find * -name feature.xml -not -path */target/* | while read feature_xml; do
|
||||
git ls-files -- \*/feature.xml | while read feature_xml; do
|
||||
plugin=$(xmllint --xpath 'string(//feature/@plugin)' $feature_xml)
|
||||
if [ -z "$plugin" ]; then
|
||||
plugin=$(xmllint --xpath 'string(//feature/@id)' $feature_xml)
|
||||
|
|
Loading…
Add table
Reference in a new issue