Changeset 141d072 for BLFS/libs/func_dependencies
- Timestamp:
- 12/19/2021 04:30:10 PM (3 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- f81d8bd
- Parents:
- a78cfc9
- git-author:
- Pierre Labastie <pierre.labastie@…> (12/19/2021 04:26:23 PM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (12/19/2021 04:30:10 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/func_dependencies
ra78cfc9 r141d072 299 299 a package name (so that it is removed when building the 300 300 xml book). 301 Also change the "first" qualifier so that a cycle: 302 A -first-> B ---chain---> A becomes: 303 B ---chain---> A -before-> B-pass1 304 and we remove all the dependencies which have a chain to 305 A in B-pass1. 306 Since we do not change anything else, it may happen that 307 nothing depends on B. In that case, B is appended to root. 301 308 input vars: None 302 309 files: <node>.dep files containing dangling edges and … … 397 404 for id_of_dep in $lines_to_change; do 398 405 sed "/\ $id_of_dep\$/"'{s/[[:digit:]] f /1 b /;s/$/-pass1/}' -i $node 406 if ! grep -q " $id_of_dep\$" *.dep; then 407 echo 1 b $id_of_dep >>root.dep 408 fi 399 409 done 400 410 done
Note:
See TracChangeset
for help on using the changeset viewer.