summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install_purge_la.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_install_purge_la.subr')
-rw-r--r--subr/pkg_install_purge_la.subr6
1 files changed, 3 insertions, 3 deletions
diff --git a/subr/pkg_install_purge_la.subr b/subr/pkg_install_purge_la.subr
index 9eb160fb..be5ab489 100644
--- a/subr/pkg_install_purge_la.subr
+++ b/subr/pkg_install_purge_la.subr
@@ -3,9 +3,9 @@
#
pkg_install_purge_la() {
- local __;
- for __ in $(find "${PWD}/../destdir/lib" -type f -name \*.la); do
- build_fileop rm ${__};
+ local _la_path;
+ for _la_path in $(find "${PKG_DESTDIR}" -type f -name \*.la); do
+ build_fileop rm ${_la_path};
done;
};