diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-03-12 08:56:34 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-03-12 08:56:34 +0000 |
commit | 0d1c4f95c4c2d2d7c1a01f6a46502b7c49c06647 (patch) | |
tree | 10fa5a00d57bc448c56af4b7ccdb69d4721e045b /dist/dist_zipdist.dist | |
parent | 72e7c3318ee19b81bfe532750bb467f1391ee1fb (diff) | |
download | midipix_build-0d1c4f95c4c2d2d7c1a01f6a46502b7c49c06647.tar.bz2 midipix_build-0d1c4f95c4c2d2d7c1a01f6a46502b7c49c06647.tar.xz |
Reduce awk(1), grep(1), seq(1), and stat(1) usage.
subr/build_init.subr:buildp_init_files(): replace timestamp w/ running total log filename suffix.
subr/build_init.subr:buildp_init_prereqs(): ensure sed(1) supports -i option.
subr/rtl_complex.subr:rtl_{get_cpu_count,is_newer}(): initial implementation.
subr/rtl_string.subr:rtl_match(): initial implementation.
Diffstat (limited to 'dist/dist_zipdist.dist')
-rw-r--r-- | dist/dist_zipdist.dist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/dist_zipdist.dist b/dist/dist_zipdist.dist index 571dc0ce..eda7997c 100644 --- a/dist/dist_zipdist.dist +++ b/dist/dist_zipdist.dist @@ -8,7 +8,7 @@ pkg_dist_zipdist_all() { echo "msg_pkg dist dist_zipdist Building deployable distribution ZIP archive..." >&3; rtl_log_msg info "Finished building deployable distribution ZIP archive."; for _pkg_name in $(cat "${_pkglist_fname}"); do - if ! stat "${BUILD_WORKDIR}/${_pkg_name}-native-${DEFAULT_TARGET}" >/dev/null 2>&1; then + if [ ! -e "${BUILD_WORKDIR}/${_pkg_name}-native-${DEFAULT_TARGET}" ]; then rtl_log_msg failexit "Error: missing package build directory for package \`${_pkg_name}'."; fi; done; |