summaryrefslogtreecommitdiff
path: root/mips64el
diff options
context:
space:
mode:
Diffstat (limited to 'mips64el')
-rwxr-xr-xmips64el/mipsrelease4
1 files changed, 4 insertions, 0 deletions
diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease
index b8ff01d..1a4aade 100755
--- a/mips64el/mipsrelease
+++ b/mips64el/mipsrelease
@@ -10,6 +10,8 @@
source /etc/makepkg.conf
source /etc/libretools.conf
+libretoolsdir="$(dirname $0)/../"
+
usage() {
echo "$0 repo package1 [ package2 ... packageN ]"
echo
@@ -53,4 +55,6 @@ pushd ${WORKDIR}/abs/${CARCH}/${repo} >/dev/null
tar xvf $SRCPKGDEST/${pkgbase:-${pkgname[0]}}-${fullver}${SRCEXT}
popd >/dev/null
+$libretoolsdir/chcleanup || true
+
exit $?