diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2013-05-01 18:20:01 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-05-01 18:20:01 -0500 |
commit | 70628a875ba5ccf9fd3c9d702bc5c7471762270b (patch) | |
tree | ec007069a60b704ffd091b54acbd7f5bbf848117 /src/rc | |
parent | 10a4385e409b48d9aa60590c140d4ca6485a7a72 (diff) |
fix the build for non-selinux systems
The symlinks should be created only if MKSELINUX=yes, not if it just has
a value.
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |