diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-28 08:34:45 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-28 10:40:24 +0200 |
commit | 9e3c69bd625e29b84a193248ef3c040f1fe75a9c (patch) | |
tree | 08b22727be6be7c665961cdce315d837bfb0334b /contrib | |
parent | c5d324ae7c7e3f87e22db0d99b69d5503dc11ed7 (diff) |
xorg: bump versions xorg-sgml-doctools xf86-video-intel libxfont util-macros
* adjust bumping script to handle -native versions better with BBCLASSEXTEND
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/source-checker/bump.preferred-xorg-versions-live.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/source-checker/bump.preferred-xorg-versions-live.sh b/contrib/source-checker/bump.preferred-xorg-versions-live.sh index 63ae0f4b28..b37215da2c 100755 --- a/contrib/source-checker/bump.preferred-xorg-versions-live.sh +++ b/contrib/source-checker/bump.preferred-xorg-versions-live.sh @@ -33,6 +33,11 @@ function updateVersions { if ls -1 ${BBS}${GRP}/${PKG}_*.bb >/dev/null 2>/dev/null ; then echo "PREFERRED_VERSION_${PKG} ?= \"${VER}\"" >> ${PREFS_LIVE} fi + if ls -1 ${BBS}${GRP}/${PKG}-native_*.bb >/dev/null 2>/dev/null || + grep "BBCLASSEXTEND.*native" ${BBS}${GRP}/${PKG}_*.bb >/dev/null 2>/dev/null || + grep "BBCLASSEXTEND.*native" ${BBS}${GRP}/${PKG}.inc >/dev/null 2>/dev/null ; then + echo "PREFERRED_VERSION_${PKG}-native ?= \"${VER}\"" >> ${PREFS_LIVE} + fi if [[ -n ${BB_VER} && ${BB_VER} != ${VER} ]] ; then echo "bump: $GRP ${PKG} ${BB_VER} -> ${VER}" | tee -a ${OUT_LOG} echo "cp ${BBS}${GRP}/${PKG}_${BB_VER}.bb ${BBS}${GRP}/${PKG}_${VER}.bb" >> ${OUT_CMD} @@ -68,7 +73,6 @@ cat ${DIR}/latest.txt | while read LINE; do GRP=`echo ${LINE} | sed "s%^\(.*\)\/\(.*\)\/\(.*\)$%\1%g;"` VER=`echo ${LINE} | sed "s%^\(.*\)\/\(.*\)\/\(.*\)$%\3%g;"` updateVersions ${PKG} ${GRP} ${VER} - updateVersions ${PKG}-native ${GRP} ${VER} done echo "Check ${OUT_LOG} if there is something new and interesting" |