summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-19 19:24:50 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-01-19 19:24:50 +0000
commit020a8e3281b215a53363f3cdf8d349ff829b016b (patch)
tree3e1ce06323f8524a020cf8485a9e3598d0287b4b
parented4109698b2e5ff64d7f8d8c5349b512a6d2de3c (diff)
downloadmidipix_build-020a8e3281b215a53363f3cdf8d349ff829b016b.tar.bz2
midipix_build-020a8e3281b215a53363f3cdf8d349ff829b016b.tar.xz
subr/pkg_install_strip.subr:pkg_install_strip(): exclude non-native packages.
-rw-r--r--subr/pkg_install_strip.subr3
1 files changed, 2 insertions, 1 deletions
diff --git a/subr/pkg_install_strip.subr b/subr/pkg_install_strip.subr
index 5b34d70e..c8c04a46 100644
--- a/subr/pkg_install_strip.subr
+++ b/subr/pkg_install_strip.subr
@@ -5,7 +5,8 @@
pkg_install_strip() {
local _tree_root="${PKG_DESTDIR}" _bin_path="";
if [ -e "${_tree_root}" ]\
- && [ "${BUILD}" != release ]; then
+ && [ "${BUILD}" != release ]\
+ && [ "${PKG_BUILD_TYPE}" = native ]; then
if [ "${PKG_NAME%_minipix}" != "${PKG_NAME}" ]\
&& [ "${ARG_DEBUG_MINIPIX:-0}" -eq 1 ]; then
return;