Changeset 5afaf7c


Ignore:
Timestamp:
02/02/2018 05:55:29 PM (6 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
59afe73
Parents:
1fa0dee
Message:

BLFS/libs/func_dependencies: fix 2 stupid bug in function path_to

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    r1fa0dee r5afaf7c  
    202202
    203203if test "${start%.dep}" = "$seek"; then return 0; fi
    204 seen="$seen$file "
    205 if test -s $file; then
     204seen="$seen$start "
     205if test -s $start; then
    206206  {
    207207  while read prio_of_dep build_of_dep id_of_dep; do
    208208    if test "$prio" -lt "$prio_of_dep"; then continue; fi
    209     if test "${seen% $id_of_dep *}" = "$seen"; then continue; fi
     209    if ! test "${seen% $id_of_dep *}" = "$seen"; then continue; fi
    210210    if path_to ${id_of_dep}.dep $seek $prio; then return 0; fi
    211211  done
Note: See TracChangeset for help on using the changeset viewer.