Ignore:
Timestamp:
08/17/2017 11:27:07 AM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
91e8eaa
Parents:
ce244f6
Message:

Fix grepping for VERSION (func_install_blfs)
Add LFS-Release (update-lfs.sh and func_install_blfs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    rce244f6 re3f4b9a4  
    220220                sed 's/.*>\([^<]*\)<.*/\1/' | \\
    221221                sort | uniq); do \\
    222             VERSION=\$\$(grep -A1 "\$\$pack</product" \\
     222            VERSION=\$\$(grep -A1 ">\$\$pack</product" \\
    223223                        ../$LFS_XML/tmp/lfs-full.xml | \\
    224224                head -n2|  \\
     
    233233            rm track.tmp; \\
    234234        done; \\
     235        VERSION=\$\$(grep 'echo.*lfs-release' ../$LFS_XML/tmp/lfs-full.xml | \\
     236                     sed 's/.*echo[ ]*\([^ ]*\).*/\1/'); \\
     237        xsltproc --stringparam packages ../packages.xml \\
     238            --stringparam package LFS-Release \\
     239            --stringparam version \$\$VERSION \\
     240            -o track.tmp \\
     241            ../xsl/bump.xsl \$(TRACKING_FILE); \\
     242        sed -i 's@PACKDESC@$BLFS_ROOT/packdesc.dtd@' track.tmp; \\
     243        xmllint --format --postvalid track.tmp > \$(TRACKING_FILE); \\
     244        rm track.tmp; \\
    235245        for file in *-*; do \\
    236246            xsltproc --stringparam packages ../packages.xml \\
Note: See TracChangeset for help on using the changeset viewer.