summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Jones <carpaski@gentoo.org>2004-01-26 08:42:06 +0000
committerNicholas Jones <carpaski@gentoo.org>2004-01-26 08:42:06 +0000
commit79fe81359b0ecc40cc265518cbaaae1458de2a82 (patch)
tree7f2f7cba6078872ae07ff2b540b98e60ed17fbb6 /eclass/selinux-policy.eclass
parentcomment out by default (diff)
downloadgentoo-2-79fe81359b0ecc40cc265518cbaaae1458de2a82.tar.gz
gentoo-2-79fe81359b0ecc40cc265518cbaaae1458de2a82.tar.bz2
gentoo-2-79fe81359b0ecc40cc265518cbaaae1458de2a82.zip
Added quotes on the empty check so that it worked.
Diffstat (limited to 'eclass/selinux-policy.eclass')
-rw-r--r--eclass/selinux-policy.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/selinux-policy.eclass b/eclass/selinux-policy.eclass
index 84f147ed8c7d..9a6fbe8f11d5 100644
--- a/eclass/selinux-policy.eclass
+++ b/eclass/selinux-policy.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy.eclass,v 1.6 2003/10/16 14:28:54 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy.eclass,v 1.7 2004/01/26 08:42:06 carpaski Exp $
# Eclass for installing SELinux policy, and optionally
# reloading the policy
@@ -19,7 +19,7 @@ IUSE=""
newrdepend ">=sec-policy/selinux-base-policy-20030729"
-[ -z ${POLICYDIR} ] && POLICYDIR="/etc/security/selinux/src/policy"
+[ -z "${POLICYDIR}" ] && POLICYDIR="/etc/security/selinux/src/policy"
SAVENAME="`date +%Y%m%d%H%M`-${PN}.tar.bz2"
SAVEDIR="`echo "${POLICYDIR}" | cut -d/ -f6`"