diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-03 16:10:05 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-03 16:20:07 +0000 |
commit | ec19f02f81c206f54a89ef7e1f49715e90470c31 (patch) | |
tree | a4f6a307e70bad5c4a836a18cbf92b6b0afa0b83 /vars/dist_digest.vars | |
parent | 16c9cd223ae1809124a163d13e820f19e18e7edc (diff) | |
download | midipix_build-ec19f02f81c206f54a89ef7e1f49715e90470c31.tar.bz2 midipix_build-ec19f02f81c206f54a89ef7e1f49715e90470c31.tar.xz |
Separate front end (build.sh, subr/build_*) from dispatcher.
Diffstat (limited to 'vars/dist_digest.vars')
-rw-r--r-- | vars/dist_digest.vars | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/vars/dist_digest.vars b/vars/dist_digest.vars index de94df72..d831beb9 100644 --- a/vars/dist_digest.vars +++ b/vars/dist_digest.vars @@ -4,18 +4,16 @@ pkg_dist_digest_all() { local __; - if [ -n "${ARG_TARBALL}" ]; then - ex_log_msg info "Compiling SHA256 sums..."; - if [ -e "${PREFIX}/SHA256SUMS" ]; then - ex_build_fileop mv "${PREFIX}/SHA256SUMS" "${PREFIX}/SHA256SUMS.last"; - fi; - (cd "${PREFIX}"; - for __ in $(find "${PREFIX_NATIVE#${PREFIX}/}" -type f -perm /a=x \ - \( -path "${PREFIX_NATIVE#${PREFIX}/}/bin/*" -or \ - -path "${PREFIX_NATIVE#${PREFIX}/}/lib/*" \)); do - sha256sum "${__}"; - done > "${PREFIX}/SHA256SUMS"); + ex_rtl_log_msg info "Compiling SHA256 sums..."; + if [ -e "${PREFIX}/SHA256SUMS" ]; then + ex_rtl_fileop mv "${PREFIX}/SHA256SUMS" "${PREFIX}/SHA256SUMS.last"; fi; + (cd "${PREFIX}"; + for __ in $(find "${PREFIX_NATIVE#${PREFIX}/}" -type f -perm /a=x \ + \( -path "${PREFIX_NATIVE#${PREFIX}/}/bin/*" -or \ + -path "${PREFIX_NATIVE#${PREFIX}/}/lib/*" \)); do + sha256sum "${__}"; + done > "${PREFIX}/SHA256SUMS"); }; # vim:filetype=sh |