summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_setup_env.subr2
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}.'";