--- branches/mage-next/src/depwalker.in 2014/03/05 08:15:28 2625 +++ branches/mage-next/src/depwalker.in 2014/03/05 08:16:25 2626 @@ -2,13 +2,6 @@ # $Id$ # dependeny walker -# default die function -die() -{ - echo ${COLRED}"$@"${COLDEFAULT} - exit 1 -} - decho() { if [[ ${DEBUG} = 1 ]] @@ -17,7 +10,8 @@ fi } -# include all needed files +# first of all include common functions +source ${MLIBDIR}/common.functions.sh || exit 1 source @@SYSCONFDIR@@/mage.rc.global || die "@@SYSCONFDIR@@/mage.rc.global missing" source ${MAGERC} || die "Your ${MAGERC} is missing. Aborting." source ${MLIBDIR}/mage4.functions.sh || die "mage functions missing"