Changeset a690d42 for BLFS/gen_pkg_book.sh
- Timestamp:
- 12/12/2021 05:39:03 PM (3 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 5e1d9dd
- Parents:
- 1fc36f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/gen_pkg_book.sh
r1fc36f5 ra690d42 23 23 declare BookXml="${TOPDIR}/book.xml" 24 24 declare MakeBook="${TOPDIR}/xsl/make_book.xsl" 25 declare GetVersion="${TOPDIR}/xsl/get_version.xsl" 25 26 declare MakeScripts="${TOPDIR}/xsl/scripts.xsl" 26 27 declare BookHtml="${TOPDIR}/book-html" … … 193 194 generate_dependency_tree root.tree 1 194 195 echo -e "\n${SD_BORDER}" 196 echo Generating the ordered full dependency list 197 FULL_LIST="$(tree_browse root.tree)" 198 set -e 199 popd > /dev/null 200 #echo "$FULL_LIST" 195 201 #echo -e \\n provisional end... 196 202 #exit 197 203 echo Generating the ordered package list 198 LIST="$(tree_browse root.tree)" 199 set -e 200 popd > /dev/null 204 LIST= 205 while read p; do 206 versions=$(xsltproc --stringparam package "$p" $GetVersion $PackFile) 207 if [ "$versions" != "$(sort -V <<<$versions)" ]; then 208 LIST="$LIST $p" 209 fi 210 done <<<$FULL_LIST 211 #echo \""$LIST"\" 212 #echo -e \\n provisional end... 213 #exit 201 214 rm -f ${BookXml} 202 215 echo Making XML book
Note:
See TracChangeset
for help on using the changeset viewer.