mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
Fix feature name generation for feature names with underscore
This commit is contained in:
parent
d65b0e3c39
commit
e8241c21ee
1 changed files with 2 additions and 2 deletions
|
@ -61,10 +61,10 @@ if [ `basename $SITE` = testUpdates ]; then
|
|||
else
|
||||
echo "Working on official update site"
|
||||
fi
|
||||
FEATURES=`grep 'features/[^ ]*\.qualifier\.jar' site.xml | sed -e 's,^[^"]*"features/\([^_]*_[0-9.]*\).*$,\1,g'`
|
||||
FEATURES=`grep 'features/[^ ]*\.qualifier\.jar' site.xml | sed -e 's,^[^"]*"features/\([^0-9]*[0-9][0-9.]*\).*$,\1,g'`
|
||||
for feature in $FEATURES ; do
|
||||
#list newest ones first
|
||||
TAG=`ls -t features/${feature}*.jar | head -1 | sed -e 's,[^_]*_[0-9]*\.[0-9]*\.[0-9]*\.\([^.]*\).jar,\1,'`
|
||||
TAG=`ls -t features/${feature}*.jar | head -1 | sed -e 's,[^0-9]*[0-9][0-9]*\.[0-9]*\.[0-9]*\.\([^.]*\).jar,\1,'`
|
||||
if [ "$TAG" != "" ]; then
|
||||
echo "$feature : $TAG"
|
||||
sed -e "/$feature/s/qualifier/$TAG/g" site.xml > site.xml.new
|
||||
|
|
Loading…
Add table
Reference in a new issue