Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/
Date: Wed, 01 May 2013 23:24:12
Message-Id: 1367450401.70628a875ba5ccf9fd3c9d702bc5c7471762270b.WilliamH@OpenRC
1 commit: 70628a875ba5ccf9fd3c9d702bc5c7471762270b
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Wed May 1 23:20:01 2013 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed May 1 23:20:01 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=70628a87
7
8 fix the build for non-selinux systems
9
10 The symlinks should be created only if MKSELINUX=yes, not if it just has
11 a value.
12
13 ---
14 src/rc/Makefile | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17 diff --git a/src/rc/Makefile b/src/rc/Makefile
18 index fc6b9aa..dcd8e5a 100644
19 --- a/src/rc/Makefile
20 +++ b/src/rc/Makefile
21 @@ -51,7 +51,7 @@ include ${MK}/pam.mk
22 # $3 is the path where the links are created
23 define make-links
24 for x in $(1); do \
25 - if test -n "${MKSELINUX}"; then \
26 + if [ "${MKSELINUX}" = yes ]; then \
27 printf '#!/bin/sh\nexec ${2} --applet %s "$$@"\n' $$x >${3}/$$x; \
28 chmod ${BINMODE} ${3}/$$x; \
29 else \