commit:     f4a06c7f3901781c5793358aecb617edc783de15
Author:     Michał Kępień <github <AT> kempniu <DOT> pl>
AuthorDate: Fri Nov 18 13:35:10 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 16:33:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a06c7f

Quote function arguments

 net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild 
b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
index d013e87..8135111 100644
--- a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
@@ -60,7 +60,7 @@ pkg_setup() {
        python-single-r1_pkg_setup
 
        # Create sabnzbd group
-       enewgroup ${PN}
+       enewgroup "${PN}"
        # Create sabnzbd user, put in sabnzbd group
        enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
 }
@@ -80,11 +80,11 @@ src_install() {
        local d
 
        for d in cherrypy email icons interfaces locale po sabnzbd tools util; 
do
-               insinto /usr/share/${PN}/${d}
+               insinto "/usr/share/${PN}/${d}"
                doins -r ${d}/*
        done
 
-       insinto /usr/share/${PN}
+       insinto "/usr/share/${PN}"
        insopts -m 0755
        doins SABnzbd.py
 
@@ -93,12 +93,12 @@ src_install() {
        newinitd "${FILESDIR}/${PN}.initd" "${PN}"
        newconfd "${FILESDIR}/${PN}.confd" "${PN}"
 
-       diropts -o ${PN} -g ${PN}
-       dodir /etc/${PN}
-       dodir /var/log/${PN}
+       diropts -o "${PN}" -g "${PN}"
+       dodir "/etc/${PN}"
+       dodir "/var/log/${PN}"
 
        insinto "/etc/${PN}"
-       insopts -m 0600 -o ${PN} -g ${PN}
+       insopts -m 0600 -o "${PN}" -g "${PN}"
        doins "${FILESDIR}/${PN}.ini"
 
        dodoc {ABOUT,ISSUES,README}.txt licenses/*

Reply via email to