177 |
fi |
fi |
178 |
|
|
179 |
echo -e "${COLBLUE}==>${COLGREEN} fetching ${uri}${COLDEFAULT}" |
echo -e "${COLBLUE}==>${COLGREEN} fetching ${uri}${COLDEFAULT}" |
180 |
mdownload --uri "${uri}" --dir "${outputdir}" || die "Could not download '${uri}'" |
# do not die here, mchecksum catches download errors |
181 |
|
mdownload --uri "${uri}" --dir "${outputdir}" |
182 |
|
|
183 |
# unset them to be sure |
# unset them to be sure |
184 |
unset uri |
unset uri |
465 |
local stripdir="$@" |
local stripdir="$@" |
466 |
|
|
467 |
[[ -z ${stripdir} ]] && stripdir="${BINDIR}" |
[[ -z ${stripdir} ]] && stripdir="${BINDIR}" |
468 |
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 | grep "libtool library" | cut -f 1 -d : | xargs --no-run-if-empty rm -f -- 2> /dev/null |
469 |
} |
} |
470 |
|
|
471 |
mpurgetargets() |
mpurgetargets() |