Diff of /trunk/mage/usr/lib/mage/smage2.sh
Parent Directory | Revision Log | Patch
revision 1600 by niro, Mon Jan 2 15:51:28 2012 UTC | revision 1601 by niro, Mon Jan 2 15:52:59 2012 UTC | |
---|---|---|
# | Line 465 mstriplibtoolarchive() | Line 465 mstriplibtoolarchive() |
465 | local stripdir="$@" | local stripdir="$@" |
466 | ||
467 | [[ -z ${stripdir} ]] && stripdir="${BINDIR}" | [[ -z ${stripdir} ]] && stripdir="${BINDIR}" |
468 | 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 | 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() |
|