Changeset 7ac11f0 for BLFS


Ignore:
Timestamp:
11/23/2015 02:14:23 PM (9 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
e91a15d
Parents:
cf8e060
Message:

Fix a long standing bug preventing the chosen MTA to be used and improve
some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    rcf8e060 r7ac11f0  
    6565                     the first line of the file is the link
    6666                $2 : priority (1=req, 2=rec, 3=opt)
    67     externals:  vars: DEP_LEVEL contains the 1 if we want to build the
    68                                 tree only for required dependencies,
    69                                 2 if we want also recommended ones,
    70                                 and 3 if we want optional ones too.
     67    externals:  vars:  DEP_LEVEL   contains 1 if we want to build the
     68                                   tree only for required dependencies,
     69                                   2 if we want also recommended ones,
     70                                   and 3 if we want optional ones too.
     71                       MAIL_SERVER contains the name of the MTA we want to use.
     72                files: ../xsl/dependencies.xsl: stylesheet for creating the
     73                                               .dep files
     74                       ../packages.xml:         Files containing packages id
     75                                                and dependencies
    7176    returns:    0 if the tree has been successfully created
    7277                1 if we are backing up to the parent of a circular dep
     
    150155      fi
    151156    else # not circular: prune tree (but not .odep, since it may happen that
    152          # the tree is destroyed and rebuilt in another order
     157         # the tree is destroyed and rebuilt in another order)
    153158      lines_to_remove="$lines_to_remove $id_of_dep"
    154159    fi # circular or not
     
    165170      xsltproc --stringparam dependencies ${dep_level} \
    166171        --stringparam idofdep $id_of_dep \
     172        --stringparam MTA $MAIL_SERVER   \
    167173        -o ${id_of_dep}.odep \
    168174        ../xsl/dependencies.xsl ../packages.xml
Note: See TracChangeset for help on using the changeset viewer.