summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2007-10-18 19:21:10 +0000
committerChris PeBenito <pebenito@gentoo.org>2007-10-18 19:21:10 +0000
commitc0837a0917373f16ecda2d7ecf35c2cc5ffbc78a (patch)
treeddf7f04b63ba80fb69dde71a39c13da478c8cb4d /sys-libs/libselinux
parentnew upstream stable release. (diff)
downloadgentoo-2-c0837a0917373f16ecda2d7ecf35c2cc5ffbc78a.tar.gz
gentoo-2-c0837a0917373f16ecda2d7ecf35c2cc5ffbc78a.tar.bz2
gentoo-2-c0837a0917373f16ecda2d7ecf35c2cc5ffbc78a.zip
fix var quoting.
(Portage version: 2.1.3.14)
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/libselinux-1.34.13.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys-libs/libselinux/libselinux-1.34.13.ebuild b/sys-libs/libselinux/libselinux-1.34.13.ebuild
index 4c20ae896d96..3bbfda6b9f18 100644
--- a/sys-libs/libselinux/libselinux-1.34.13.ebuild
+++ b/sys-libs/libselinux/libselinux-1.34.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.34.13.ebuild,v 1.1 2007/10/18 19:17:25 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.34.13.ebuild,v 1.2 2007/10/18 19:21:10 pebenito Exp $
IUSE=""
@@ -21,15 +21,15 @@ DEPEND="=sys-libs/libsepol-${SEPOL_VER}*
dev-lang/swig"
src_unpack() {
- unpack ${A}
- cd ${S}
+ unpack "${A}"
+ cd "${S}"
[ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}"
# fix up paths for multilib
- sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \
+ sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
|| die "Fix for multilib LIBDIR failed."
- sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \
+ sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
|| die "Fix for multilib SHLIBDIR failed."
}
@@ -39,7 +39,7 @@ src_compile() {
emake PYLIBVER="python${PYVER}" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
# add compatability aliases to swig wrapper
- cat ${FILESDIR}/compat.py >> ${S}/src/selinux.py || die
+ cat "${FILESDIR}/compat.py" >> "${S}/src/selinux.py" || die
}
src_install() {
@@ -49,10 +49,10 @@ src_install() {
pkg_postinst() {
python_version
- python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages
+ python_mod_optimize "${ROOT}usr/lib/python${PYVER}/site-packages"
}
pkg_postrm() {
python_version
- python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages
+ python_mod_cleanup "${ROOT}usr/lib/python${PYVER}/site-packages"
}