diff --git a/BLFS/libs/func_dependencies b/BLFS/libs/func_dependencies index b3b2d80..87ea5a3 100644 --- a/BLFS/libs/func_dependencies +++ b/BLFS/libs/func_dependencies @@ -113,6 +113,7 @@ of ${BOLD}${DepFile%.dep}${OFF}" ../xsl/dependencies.xsl ../packages.xml if [[ -f ${id_of_dep}.dep ]]; then + sort ${id_of_dep}.dep -o ${id_of_dep}.dep sed -i "1i${rootlink[*]} $count" ${id_of_dep}.dep generate_dependency_tree ${id_of_dep}.dep # Test return value, in case we exchange dependencies