diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-28 09:45:57 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-28 09:45:57 +0000 |
commit | d1b08df0f565f24d170c27a8ff34c90b283f547a (patch) | |
tree | 12499aaba6099742cf7542bcb3b0e20bed4b2f15 /net-misc/asterisk-cdr_shell | |
parent | missing iuse (diff) | |
download | gentoo-2-d1b08df0f565f24d170c27a8ff34c90b283f547a.tar.gz gentoo-2-d1b08df0f565f24d170c27a8ff34c90b283f547a.tar.bz2 gentoo-2-d1b08df0f565f24d170c27a8ff34c90b283f547a.zip |
fix quoting
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/asterisk-cdr_shell')
-rw-r--r-- | net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild | 18 | ||||
-rw-r--r-- | net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild index b224fc4cd568..a3418694f90d 100644 --- a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild +++ b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild,v 1.5 2010/10/28 09:44:17 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild,v 1.6 2010/10/28 09:45:57 ssuominen Exp $ inherit eutils @@ -23,18 +23,18 @@ S=${WORKDIR}/${MY_PN} src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # use asterisk-config... - epatch ${FILESDIR}/${MY_PN}-${PV}-astcfg.diff + epatch "${FILESDIR}"/${MY_PN}-${PV}-astcfg.diff if has_version "<net-misc/asterisk-1.1.0"; then einfo "Building for Asterisk-1.0.x" # patch for asterisk stable - epatch ${FILESDIR}/${MY_PN}-${PV}-stable.diff + epatch "${FILESDIR}"/${MY_PN}-${PV}-stable.diff else einfo "Building for Asterisk-1.2.x" # patch for asterisk 1.2 - epatch ${FILESDIR}/${MY_PN}-${PV}-ast1.2.diff + epatch "${FILESDIR}"/${MY_PN}-${PV}-ast1.2.diff fi } @@ -43,12 +43,12 @@ src_compile() { } src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die insinto /etc/asterisk - doins ${FILESDIR}/cdr.conf + doins "${FILESDIR}"/cdr.conf # fix permissions - chown -R root:asterisk ${D}etc/asterisk - chmod -R u=rwX,g=rX,o= ${D}etc/asterisk + chown -R root:asterisk "${D}"etc/asterisk + chmod -R u=rwX,g=rX,o= "${D}"etc/asterisk } diff --git a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild index bf8083baab28..01ae8c24a0e9 100644 --- a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild +++ b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild,v 1.2 2010/10/28 09:44:17 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild,v 1.3 2010/10/28 09:45:57 ssuominen Exp $ inherit eutils toolchain-funcs @@ -23,10 +23,10 @@ S=${WORKDIR}/${MY_PN} src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # use asterisk-config - epatch ${FILESDIR}/${MY_PN}-20050626-astcfg.diff + epatch "${FILESDIR}"/${MY_PN}-20050626-astcfg.diff # <asterisk.h> -> <asterisk/asterisk.h> sed -i -e "s:<asterisk\.h>:<asterisk/asterisk.h>:" \ @@ -42,9 +42,9 @@ src_install() { doins cdr_shell.so insinto /etc/asterisk - doins ${FILESDIR}/cdr.conf + doins "${FILESDIR}"/cdr.conf # fix permissions - chown -R root:asterisk ${D}etc/asterisk - chmod -R u=rwX,g=rX,o= ${D}etc/asterisk + chown -R root:asterisk "${D}"etc/asterisk + chmod -R u=rwX,g=rX,o= "${D}"etc/asterisk } |