Changeset 4a7e066
- Timestamp:
- 08/12/2006 02:47:31 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 249874a
- Parents:
- 73c3c1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/func_dependencies
r73c3c1c r4a7e066 128 128 # If have dependencies, write its XInclude and find sub-dependencies 129 129 if [[ -f dependencies/$TARGET.dep ]]; then 130 echo -e "Start loop for PKG $TARGET\n" >> depure.txt131 130 mkdir xincludes && do_dependencies $TARGET 132 131 fi … … 167 166 local DEP_LV=$DEP_LEVEL 168 167 local line line2 DEP 169 echo -e "\tPKG is $PKG" >> depure.txt170 echo -e "\tDEP_LEVEL for $PKG is $DEP_LV\n" >> depure.txt171 168 172 169 #------------------ 173 170 # If a premade xinclude file exists, use it. If not, create one 174 171 if [[ -f xincludes/$PKG.xinc ]] ; then 175 echo -e "\tReusing xinclude file for PKG $PKG" >> depure.txt176 172 IFS=$'\x0A' 177 173 for line in `cat xincludes/$PKG.xinc` ; do … … 219 215 220 216 #------------------ 221 echo -e "\tDEP for $PKG is $DEP" >> depure.txt222 217 # Prevent circular dependencies 223 218 # If all dependencies are circular, the creation of the *.dep file … … 260 255 261 256 #------------------ 262 echo -e "\tDEP_LEVEL for $DEP is $DEP_LV" >> depure.txt263 257 # XML file of dependency package 264 258 DEP_XML=`grep "^$DEP[[:space:]]" ../packages | cut -f2` 265 echo -e "\t\tDEP_XML is $DEP_XML\n" >> depure.txt266 259 case $DEP in 267 260 x-window-system | alsa ) ;; # No page for that (proper link must be created when generating the book) … … 310 303 # If a premade xinclude file esist, include it 311 304 if [[ -f xincludes/$DEP.xinc ]] ; then 312 echo -e "\tReusing xinclude file for PKG $DEP (to solve $PKG)\n" >> depure.txt313 305 IFS=$'\x0A' 314 306 for line2 in `cat xincludes/$DEP.xinc` ; do … … 322 314 # Create the xinclude file 323 315 else 324 echo -e "\nStart new loop for PKG $DEP (to solve $PKG)\n" >> depure.txt325 316 # 326 317 # >>>>>> THIS IS A RECURSIVE FUNCTION CALL.. BEWARE OF GREMLINS. <<<<<< … … 336 327 337 328 # Include it when done 338 echo -e "\tUsing the new xinclude file for PKG $DEP (to solve $PKG)\n" >> depure.txt339 329 IFS=$'\x0A' 340 330 for line2 in `cat xincludes/$DEP.xinc` ; do … … 358 348 #------------------ 359 349 mv xincludes/$PKG.xinc.tmp xincludes/$PKG.xinc 360 echo -e "Using the new xinclude file for PKG $PKG" >> depure.txt361 350 IFS=$'\x0A' 362 351 for line in `cat xincludes/$PKG.xinc` ; do … … 367 356 echo -e "$line" >> $TARGET-index.xml.tmp 368 357 done 369 370 echo -e "\nEnd loop for PKG $PKG\n" >> depure.txt371 358 }
Note:
See TracChangeset
for help on using the changeset viewer.