listing dependencies in a list... (instead of a tree)

Samuel Verstraete samuel.verstraete at gmail.com
Wed May 24 08:03:11 UTC 2006


[code]

#!/bin/bash
DEPENDS=`lsh find_depends $1`
for n in $DEPENDS; do
        DEPENDS="$DEPENDS `lsh find_depends $n`"
done

lsh sort_by_dependency $DEPENDS

[/code]

i'd call it... lvu list_depends

;)

gr,S.


More information about the Lunar-dev mailing list