--- trunk/mage/usr/lib/mage/smage2.sh 2011/12/29 15:23:21 1595 +++ trunk/mage/usr/lib/mage/smage2.sh 2012/01/02 15:51:28 1600 @@ -177,7 +177,8 @@ fi echo -e "${COLBLUE}==>${COLGREEN} fetching ${uri}${COLDEFAULT}" - mdownload --uri "${uri}" --dir "${outputdir}" || die "Could not download '${uri}'" + # do not die here, mchecksum catches download errors + mdownload --uri "${uri}" --dir "${outputdir}" # unset them to be sure unset uri @@ -464,7 +465,7 @@ local stripdir="$@" [[ -z ${stripdir} ]] && stripdir="${BINDIR}" - find ${stripdir} ! -type d -name \*.la | xargs file | grep "libtool library" | cut -f 1 -d : | xargs --no-run-if-empty rm -f -- 2> /dev/null + find ${stripdir} ! -type d -name \*.la | xargs --no-run-if-empty file | grep "libtool library" | cut -f 1 -d : | xargs --no-run-if-empty rm -f -- 2> /dev/null } mpurgetargets()