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.
This commit is contained in:
parent
f2e80acf4c
commit
d607ac3717
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue