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:
parent
10a4385e40
commit
70628a875b
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user