summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_disabled.subr
blob: 9fb3f2f02110ba1518b54754c9529e93425e8e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# . ./build.vars and set -o errexit -o noglob are assumed.
# See warning at the top of build.vars.
#

pkg_disabled() {
	if [ ${PKG_DISABLED:-0} -eq 1 ]; then
		exit 0;
	fi;
};

# vim:filetype=sh