Magellan Linux

Diff of /trunk/mage/usr/lib/mage/depwalker.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2376 by niro, Mon Jan 6 14:35:29 2014 UTC revision 2826 by niro, Wed Sep 17 11:19:22 2014 UTC
# Line 215  depwalking() Line 215  depwalking()
215    
216   # mark depfile as processed to prevent double runs -without version   # mark depfile as processed to prevent double runs -without version
217   # but do not add any virtuals to PROCESSEDDEPS or their resolved   # but do not add any virtuals to PROCESSEDDEPS or their resolved
218   # pkgnames will be ignored and they are missing on the dependecy-list   # pkgnames will be ignored and they are missing on the dependency-list
219   if [[ ${DEPNAME/virtual\//} = ${DEPNAME} ]]   if [[ ${DEPNAME/virtual\//} = ${DEPNAME} ]]
220   then   then
221   PROCESSEDDEPS="${PROCESSEDDEPS} ${DEPNAME%-*}"   PROCESSEDDEPS="${PROCESSEDDEPS} ${DEPNAME%-*}"
# Line 242  depwalking() Line 242  depwalking()
242   ### check if the dependency is already installed ###   ### check if the dependency is already installed ###
243   if [ ! -d ${MROOT}${INSTALLDB}/${PCAT}/${PNAME}-${PVER}-${PBUILD} ]   if [ ! -d ${MROOT}${INSTALLDB}/${PCAT}/${PNAME}-${PVER}-${PBUILD} ]
244   then   then
245     # but first get all deps of highest_depfile to catch all dependencies of it
246   depwalking ${HIGHEST_DEPFILE}   depwalking ${HIGHEST_DEPFILE}
247   ALLDEPS="${ALLDEPS} ${HIGHEST_DEPFILE}"   ALLDEPS="${ALLDEPS} ${HIGHEST_DEPFILE}"
248   decho "added '${HIGHEST_DEPFILE}' to ALLDEPS"   decho "added '${HIGHEST_DEPFILE}' to ALLDEPS"

Legend:
Removed from v.2376  
changed lines
  Added in v.2826