summaryrefslogtreecommitdiffhomepage
path: root/subr.ex
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-03-18 20:07:44 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-03-18 20:07:44 +0100
commitcb4e88e8df8d4d33cfa47e14cb170c6ab6fb0000 (patch)
treee54fa2db9c8028f45cdcf5c8a0bd1d4c2ce79a78 /subr.ex
parentf6c0050cd5ad10ec46f227d5eb79f1cdffbbdbbf (diff)
downloadmidipix_build-cb4e88e8df8d4d33cfa47e14cb170c6ab6fb0000.tar.bz2
midipix_build-cb4e88e8df8d4d33cfa47e14cb170c6ab6fb0000.tar.xz
groups.d/231.native_packages_etc.group:{image,graphics}magick:${PKG_NO_PURGE_LA_FILES}: don't delete .la files.
etc/README.md: documents NO_PURGE_LA_FILES. subr.pkg/pkg_install_files.subr:pkgp_install_files_libraries(): purge .la files subject to ${PKG_NO_PURGE_LA_FILES}. vars.env.d/000.build.env:${DEFAULT_BUILD_VARS}: adds NO_PURGE_LA_FILES. subr.ex/ex_rtl_rpm.subr:ex_rtl_purge_la_files(): removes duplicate function.
Diffstat (limited to 'subr.ex')
-rw-r--r--subr.ex/ex_rtl_rpm.subr22
1 files changed, 0 insertions, 22 deletions
diff --git a/subr.ex/ex_rtl_rpm.subr b/subr.ex/ex_rtl_rpm.subr
index 7c89acb3..2f1589d6 100644
--- a/subr.ex/ex_rtl_rpm.subr
+++ b/subr.ex/ex_rtl_rpm.subr
@@ -228,28 +228,6 @@ ex_rtl_fixup_pkgconfig_paths() {
};
#
-# ex_rtl_purge_la_files() - purge .la files in tree
-# @_dname_base: base directory pathname
-#
-# Returns: zero (0) on success, non-zero (>0) on failure
-#
-ex_rtl_purge_la_files() {
- local _erplf_dname_base="${1}" \
- _erplf_la_path="";
-
- for _erplf_la_path in $(find \
- "${_erplf_dname_base}" \
- -type f \
- -name \*.la);
- do
- if ! rtl_fileop rm "${_erplf_la_path}"; then
- return 1;
- fi;
- done;
- return 0;
-};
-
-#
# ex_rtl_strip_files() - strip files of debugging information
# @_strip_cmd: strip(1) command name
# @_tree_root: pathname to tree root