From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F7B01381F3 for ; Wed, 1 May 2013 23:24:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2D24E0941; Wed, 1 May 2013 23:24:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 364BFE0941 for ; Wed, 1 May 2013 23:24:06 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDCFE33DFD1 for ; Wed, 1 May 2013 23:24:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 87C8BE4768 for ; Wed, 1 May 2013 23:24:03 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1367450401.70628a875ba5ccf9fd3c9d702bc5c7471762270b.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/Makefile X-VCS-Directories: src/rc/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 70628a875ba5ccf9fd3c9d702bc5c7471762270b X-VCS-Branch: master Date: Wed, 1 May 2013 23:24:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d0937420-a54c-48fb-8aab-cbfb6c55b45a X-Archives-Hash: aec10a51aba71b74d26aa934f54b4150 commit: 70628a875ba5ccf9fd3c9d702bc5c7471762270b Author: William Hubbs gmail com> AuthorDate: Wed May 1 23:20:01 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed May 1 23:20:01 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=70628a87 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rc/Makefile b/src/rc/Makefile index fc6b9aa..dcd8e5a 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 \