diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-04 22:13:28 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-04 22:13:28 +0000 |
commit | 5b9227eaf8fb1f02285b7840a51fd40944223ae7 (patch) | |
tree | 4f19c85dceabd2653871fe01c23892d733dc635a | |
parent | c3d30d96c5cc5f3e495a80d7ef37aa789d0e2b44 (diff) | |
download | midipix_build-5b9227eaf8fb1f02285b7840a51fd40944223ae7.tar.bz2 midipix_build-5b9227eaf8fb1f02285b7840a51fd40944223ae7.tar.xz |
vars/dist_minipix.vars: find(1) w/ -maxdepth 1 -perm /a=x -type f.
-rw-r--r-- | vars/dist_minipix.vars | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vars/dist_minipix.vars b/vars/dist_minipix.vars index dbfcead2..9761dc06 100644 --- a/vars/dist_minipix.vars +++ b/vars/dist_minipix.vars @@ -6,7 +6,9 @@ pkg_dist_minipix_all() { local _dist_pfx="${PREFIX_MINIPIX}" _bin_pname _lib_name; ex_rtl_fileop rm "${_dist_pfx}"; ex_rtl_fileop mkdir "${_dist_pfx}"; - for _bin_pname in $(find "${PREFIX}/minipix_dist/bin" -not -name "lib*"); do + ex_rtl_fileop mkdir "${_dist_pfx}/bin"; + for _bin_pname in $(find "${PREFIX}/minipix_dist/bin" \ + -maxdepth 1 -perm /a=x -type f -and \( -not -name "lib*" \)); do ex_rtl_fileop cp_follow "${_bin_pname}" "${_dist_pfx}/bin"; done; for _lib_name in libc.so libncursesw.so.6 libpsxscl.so libu16ports.so.0; do |