Changeset e030049
- Timestamp:
- 02/19/2018 04:01:00 PM (6 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 8fb1daa
- Parents:
- df1f318
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/func_dependencies
rdf1f318 re030049 136 136 { 137 137 while read prio_of_dep build_of_dep id_of_dep; do 138 case $prio_of_dep in138 case $prio_of_dep in 139 139 1) priostring=required ;; 140 140 2) priostring=recommended ;; 141 141 3) priostring=optional ;; 142 142 4) priostring=external ;; 143 esac144 case $build_of_dep in143 esac 144 case $build_of_dep in 145 145 a) buildstring=runtime ;; 146 146 b) buildstring= ;; 147 esac 148 # Has this entry already been seen 147 esac 148 # Has this entry already been seen? 149 # We have a special case here: if the entry has been seen at depth > 2 150 # and now depth=2 and DEP_LEVEL=3, optional deps have not been processed. 151 # If this is the case, just consider it has not been seen. 149 152 if [ -f ${id_of_dep}.dep ] ; then 153 case $depth$DEP_LEVEL in 154 23) ;; 155 *) 150 156 # Just display it and proceed. 151 echo -en "\nEdge: $depth${spaceSTR:0:$((depth + spacing))}${MAGENTA}${id_of_dep}${OFF} $priostring $buildstring" 152 continue 157 echo -en "\nEdge: $depth${spaceSTR:0:$((depth + spacing))}${MAGENTA}${id_of_dep}${OFF} $priostring $buildstring" 158 continue 159 ;; 160 esac 153 161 fi 154 162 # Is the weight higher than requested?
Note:
See TracChangeset
for help on using the changeset viewer.