From 70628a875ba5ccf9fd3c9d702bc5c7471762270b Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 1 May 2013 18:20:01 -0500 Subject: fix the build for non-selinux systems The symlinks should be created only if MKSELINUX=yes, not if it just has a value. --- src/rc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc') diff --git a/src/rc/Makefile b/src/rc/Makefile index fc6b9aa8..dcd8e5a4 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -51,7 +51,7 @@ include ${MK}/pam.mk # $3 is the path where the links are created define make-links for x in $(1); do \ - if test -n "${MKSELINUX}"; then \ + if [ "${MKSELINUX}" = yes ]; then \ printf '#!/bin/sh\nexec ${2} --applet %s "$$@"\n' $$x >${3}/$$x; \ chmod ${BINMODE} ${3}/$$x; \ else \ -- cgit v1.2.3