1 |
#!/bin/bash |
#!/bin/bash |
2 |
|
|
3 |
#depwalker |
#depwalker |
4 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.8 2008-01-13 21:42:16 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.9 2008-02-26 19:51:40 niro Exp $ |
5 |
|
|
6 |
# default die function |
# default die function |
7 |
die() |
die() |
185 |
fi |
fi |
186 |
|
|
187 |
# mark depfile as processed to prevent double runs -without version |
# mark depfile as processed to prevent double runs -without version |
188 |
PROCESSEDDEPS="${PROCESSEDDEPS} ${DEPNAME%-*}" |
# but do not add any virtuals to PROCESSEDDEPS or their resolved |
189 |
|
# pkgnames will be ignored and they are missing on the dependecy-list |
190 |
|
if [[ ${DEPNAME/virtual\//} = ${DEPNAME} ]] |
191 |
|
then |
192 |
|
PROCESSEDDEPS="${PROCESSEDDEPS} ${DEPNAME%-*}" |
193 |
|
fi |
194 |
|
|
195 |
HIGHEST_DEPFILE=$(dep2highest_magefile "${DEPNAME}") |
HIGHEST_DEPFILE=$(dep2highest_magefile "${DEPNAME}") |
196 |
|
|