From 61ba136088ee6400697c4f6ecb09fe1bbc4076e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 22 Nov 2017 19:59:07 +0000 Subject: subr/ex_pkg_{dispatch,env}.subr: move ${PKG_DISABLED} check. --- subr/ex_pkg_env.subr | 3 --- 1 file changed, 3 deletions(-) (limited to 'subr/ex_pkg_env.subr') diff --git a/subr/ex_pkg_env.subr b/subr/ex_pkg_env.subr index a3310797..5eff40ed 100644 --- a/subr/ex_pkg_env.subr +++ b/subr/ex_pkg_env.subr @@ -10,9 +10,6 @@ ex_pkg_env() { && ! ex_test_cmd "pkg_${PKG_NAME}_all"; then ex_log_msg failexit "Error: package \`${PKG_NAME}' missing in build.vars."; return 1; - elif [ "${PKG_DISABLED:-0}" -eq 1 ]; then - ex_log_msg vnfo "Skipping disabled package \`${PKG_NAME}.'"; - return 0; else [ -z "${MIDIPIX_BUILD_PWD}" ] && MIDIPIX_BUILD_PWD="$(pwd)"; [ -z "${PKG_FNAME}" ] && PKG_FNAME="${PKG_URL##*/}"; -- cgit v1.2.3