Changeset 4a7e066


Ignore:
Timestamp:
08/12/2006 02:47:31 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
249874a
Parents:
73c3c1c
Message:

Removed depure.txt creation.
The recursive call code is more usefull to catch circular dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    r73c3c1c r4a7e066  
    128128  # If have dependencies, write its XInclude and find sub-dependencies
    129129  if [[ -f dependencies/$TARGET.dep ]]; then
    130     echo -e "Start loop for PKG $TARGET\n" >> depure.txt
    131130    mkdir xincludes && do_dependencies $TARGET
    132131  fi
     
    167166  local DEP_LV=$DEP_LEVEL
    168167  local line line2 DEP
    169   echo -e "\tPKG is $PKG" >> depure.txt
    170   echo -e "\tDEP_LEVEL for $PKG is $DEP_LV\n" >> depure.txt
    171168
    172169  #------------------
    173170  #  If a premade xinclude file exists, use it. If not, create one
    174171  if [[ -f xincludes/$PKG.xinc ]] ; then
    175     echo -e "\tReusing xinclude file for PKG $PKG" >> depure.txt
    176172    IFS=$'\x0A'
    177173    for line in `cat xincludes/$PKG.xinc` ; do
     
    219215
    220216    #------------------
    221     echo -e "\tDEP for $PKG is $DEP" >> depure.txt
    222217    # Prevent circular dependencies
    223218    # If all dependencies are circular, the creation of the *.dep file
     
    260255
    261256    #------------------
    262     echo -e "\tDEP_LEVEL for $DEP is $DEP_LV" >> depure.txt
    263257    # XML file of dependency package
    264258    DEP_XML=`grep "^$DEP[[:space:]]" ../packages | cut -f2`
    265     echo -e "\t\tDEP_XML is $DEP_XML\n" >> depure.txt
    266259    case $DEP in
    267260      x-window-system | alsa ) ;; # No page for that (proper link must be created when generating the book)
     
    310303      # If a premade xinclude file esist, include it
    311304      if [[ -f xincludes/$DEP.xinc ]] ; then
    312         echo -e "\tReusing xinclude file for PKG $DEP (to solve $PKG)\n" >> depure.txt
    313305        IFS=$'\x0A'
    314306        for line2 in `cat xincludes/$DEP.xinc` ; do
     
    322314      # Create the xinclude file
    323315      else
    324         echo -e "\nStart new loop for PKG $DEP (to solve $PKG)\n" >> depure.txt
    325316        #
    326317        # >>>>>> THIS IS A RECURSIVE FUNCTION CALL.. BEWARE OF GREMLINS. <<<<<<
     
    336327
    337328        # Include it when done
    338         echo -e "\tUsing the new xinclude file for PKG $DEP (to solve $PKG)\n" >> depure.txt
    339329        IFS=$'\x0A'
    340330        for line2 in `cat xincludes/$DEP.xinc` ; do
     
    358348  #------------------
    359349  mv xincludes/$PKG.xinc.tmp xincludes/$PKG.xinc
    360   echo -e "Using the new xinclude file for PKG $PKG" >> depure.txt
    361350  IFS=$'\x0A'
    362351  for line in `cat xincludes/$PKG.xinc` ; do
     
    367356    echo -e "$line" >> $TARGET-index.xml.tmp
    368357  done
    369 
    370   echo -e "\nEnd loop for PKG $PKG\n" >> depure.txt
    371358}
Note: See TracChangeset for help on using the changeset viewer.