From bf9edfaed49c4387e181be454602e0cc65fe4382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sun, 1 Mar 2020 21:09:37 +0000 Subject: General cleanup, pt. III. dist/dist_digest.dist: removes obsolete dist file. etc/{build.usage,README.md}: updated. groups/000.host_tools.group:{autoconf,automake,gettext_tiny,install_strip,libtool,m4}_host: moved from groups/010.host_deps.group. groups/221.native_packages_dev.group:lua: moved from groups/231.native_packages_etc.group. groups/221.native_packages_dev.group:lua:${PKG_FORCE_AUTORECONF}: set. groups/231.native_packages_etc.group:{mlogin,tdnf}:${PKG_FORCE_AUTORECONF}: set. groups/241.native_packages_inet.group:nullmailer:${PKG_FORCE_AUTORECONF}: set. groups/251.native_packages_lib.group:lib{asr,gpg_error}:${PKG_FORCE_AUTORECONF}: set. midipix.env, etc/README.md, subr/pkg_configure_autotools.subr: adds FORCE_NO_AUTORECONF. subr/rtl_fileop.subr: adds ch{mod,own} fileops. vars/{check_updates,jamvm,lib{asr,gpg_error},lua,mlogin,tdnf}.vars: removes obsolete vars file. --- vars/install_strip_host.vars | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'vars/install_strip_host.vars') diff --git a/vars/install_strip_host.vars b/vars/install_strip_host.vars index 1a60be72..624cb749 100644 --- a/vars/install_strip_host.vars +++ b/vars/install_strip_host.vars @@ -3,15 +3,20 @@ # pkg_install_strip_host_all() { - if [ -e "${PREFIX}/bin/${PKG_TARGET}-install-strip" ]; then - rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-install-strip"; + if [ -e "${PREFIX}/bin/${PKG_TARGET}-install-strip" ]\ + && ! rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-install-strip"; then + return 1; fi; - rtl_fileop mkdir "${PREFIX}/bin"; - cat > "${PREFIX}/bin/${PKG_TARGET}-install-strip" < "${PREFIX}/bin/${PKG_TARGET}-install-strip" <