diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-21 13:31:47 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-21 13:31:47 +0000 |
commit | 94614637a44be04d7609309fd17b6a4b035dffdf (patch) | |
tree | 5eaf02fe88274918658ec2e5fc6fa2ea3bbfc4af /subr | |
parent | c27beab66023847435fb88cd5cc75916dca37057 (diff) | |
download | midipix_build-94614637a44be04d7609309fd17b6a4b035dffdf.tar.bz2 midipix_build-94614637a44be04d7609309fd17b6a4b035dffdf.tar.xz |
subr/pkg_setup_env.subr:pkg_setup_env(): correctly check for presence of package build subroutine.
vars/dist_{etc,digest,tarballs}.vars: renamed from vars/*.subr & fixed.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg_setup_env.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/pkg_setup_env.subr b/subr/pkg_setup_env.subr index c8058e86..6f2ef2cb 100644 --- a/subr/pkg_setup_env.subr +++ b/subr/pkg_setup_env.subr @@ -6,7 +6,7 @@ pkg_setup_env() { if [ -z "${PKG_URL}" ]\ && [ -z "${PKG_URLS_GIT}" ]\ && [ -z "${PKG_VERSION}" ]\ - && ! test_cmd "${PKG_NAME}_all"; then + && ! test_cmd "pkg_${PKG_NAME}_all"; then log_msg failexit "Error: package \`${PKG_NAME}' missing in build.vars."; elif [ "${PKG_DISABLED:-0}" -eq 1 ]; then log_msg vnfo "Skipping disabled package \`${PKG_NAME}.'"; |