Changeset d607ac3


Ignore:
Timestamp:
02/22/2015 03:16:49 PM (9 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
bd07ef5
Parents:
f2e80ac
Message:

Fix dependency generator:
When the .dep file is scanned during the tree building, it outputs dependencies
in the file order, while when the tree is scanned later, dependencies are
output in alphabetical order. This may eventually lead to a wrong order
at the end. To be sure that both output are the same, just sort
the .dep file before scanning it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    rf2e80ac rd607ac3  
    114114
    115115    if [[ -f ${id_of_dep}.dep ]]; then
     116      sort ${id_of_dep}.dep -o ${id_of_dep}.dep
    116117      sed -i "1i${rootlink[*]} $count" ${id_of_dep}.dep
    117118      generate_dependency_tree ${id_of_dep}.dep
Note: See TracChangeset for help on using the changeset viewer.