BLFS: remove only "a" lines for runtime deps
Presently, when the <node>groupxx file is created, we copy "a" lines from <node> to <node>groupxx (changing "a" to "b") and we remove all the lines containing the runtime dependency from <node>. This may not always be what we want: for example, a dependency can be both "required at runtime" and "optional for tests". We should keep this information when cleaning the nodes. Only when removing circular paths should the optional tie be broken if necessary.
This commit is contained in:
parent
875366f635
commit
5156f51859
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ for node in $(grep -l ' a ' *.dep); do
|
|||
done
|
||||
} <$node
|
||||
for id_of_dep in $lines_to_remove; do
|
||||
sed "/\ $id_of_dep\$/d" -i $node
|
||||
sed "/a\ $id_of_dep\$/d" -i $node
|
||||
done
|
||||
done
|
||||
for node in $(grep -l ' f ' *); do
|
||||
|
|
Reference in a new issue