- Timestamp:
- 08/17/2017 11:27:07 AM (7 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 91e8eaa
- Parents:
- ce244f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/update-lfs.sh
rce244f6 re3f4b9a4 96 96 97 97 if [ x$ANSWER = "xyes" ] ; then 98 for pack in $(grep '<productname' $LFS_FULL |99 sed 's/.*>\([^<]*\)<.*/\1/' |100 sort | uniq); do101 if [ "$pack" = "libstdc++" ]; then continue; fi102 VERSION=$(grep -A1 ">$pack</product" $LFS_FULL |103 head -n2 |104 sed -n '2s/.*>\([^<]*\)<.*/\1/p')98 for pack in $(grep '<productname' $LFS_FULL | 99 sed 's/.*>\([^<]*\)<.*/\1/' | 100 sort | uniq); do 101 if [ "$pack" = "libstdc++" ]; then continue; fi 102 VERSION=$(grep -A1 ">$pack</product" $LFS_FULL | 103 head -n2 | 104 sed -n '2s/.*>\([^<]*\)<.*/\1/p') 105 105 #Debug 106 106 echo $pack: $VERSION 107 107 #End debug 108 xsltproc --stringparam packages $MYDIR/packages.xml \ 109 --stringparam package $pack \ 110 --stringparam version $VERSION \ 111 -o track.tmp \ 112 $MYDIR/xsl/bump.xsl ${TRACKFILE} 113 sed -i "s@PACKDESC@$MYDIR/packdesc.dtd@" track.tmp 114 xmllint --format --postvalid track.tmp > ${TRACKFILE} 115 rm track.tmp 116 done 117 VERSION=$(grep 'echo.*lfs-release' $LFS_FULL | 118 sed 's/.*echo[ ]*\([^ ]*\).*/\1/') 119 #Debug 120 echo LFS-Release: $VERSION 121 #End debug 108 122 xsltproc --stringparam packages $MYDIR/packages.xml \ 109 --stringparam package $pack\123 --stringparam package LFS-Release \ 110 124 --stringparam version $VERSION \ 111 125 -o track.tmp \ … … 114 128 xmllint --format --postvalid track.tmp > ${TRACKFILE} 115 129 rm track.tmp 116 done117 130 fi 118 131 #Debug
Note:
See TracChangeset
for help on using the changeset viewer.