fix the build for non-selinux systems

The symlinks should be created only if MKSELINUX=yes, not if it just has
a value.
This commit is contained in:
William Hubbs 2013-05-01 18:20:01 -05:00
parent 10a4385e40
commit 70628a875b

View File

@ -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 \