diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-20 21:45:21 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-21 00:51:43 +0000 |
commit | c27beab66023847435fb88cd5cc75916dca37057 (patch) | |
tree | c43c23133f5b837925785d5501aa4cff14980415 /subr/post_sha256sums.subr | |
parent | d01c0269b8e5e467f82cd28392579c4c43fe63bc (diff) | |
download | midipix_build-c27beab66023847435fb88cd5cc75916dca37057.tar.bz2 midipix_build-c27beab66023847435fb88cd5cc75916dca37057.tar.xz |
Refactors build steps along the sequence {setup,fetch,configure,build,install}.
subr/mode_check_updates.subr: seperated into check_updates.sh.
subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.
Diffstat (limited to 'subr/post_sha256sums.subr')
-rw-r--r-- | subr/post_sha256sums.subr | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/subr/post_sha256sums.subr b/subr/post_sha256sums.subr deleted file mode 100644 index 41b131d9..00000000 --- a/subr/post_sha256sums.subr +++ /dev/null @@ -1,22 +0,0 @@ -# -# set -o errexit -o noglob are assumed. -# - -post_sha256sums() { - local __; - if [ "${BUILD_SCRIPT_RC:-0}" -eq 0 ]\ - && [ "${ARG_TARBALL:-0}" -eq 1 ]; then - log_msg info "Compiling SHA256 sums..."; - if [ -e "${PREFIX}/SHA256SUMS" ]; then - 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"); - fi; -}; - -# vim:filetype=sh |