diff options
author | Ned Ludd <solar@gentoo.org> | 2008-05-11 04:21:16 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-05-11 04:21:16 +0000 |
commit | a92614b1df6a062c0e3be7ad414a72566f28310e (patch) | |
tree | 8f8393b9bd83df996e78a5c4a89b604b0d92ccc7 /app-portage | |
parent | - stable on arm/sh (diff) | |
download | gentoo-2-a92614b1df6a062c0e3be7ad414a72566f28310e.tar.gz gentoo-2-a92614b1df6a062c0e3be7ad414a72566f28310e.tar.bz2 gentoo-2-a92614b1df6a062c0e3be7ad414a72566f28310e.zip |
- keep repoman happy about Unquoted Variables
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.1.29.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app-portage/portage-utils/portage-utils-0.1.29.ebuild b/app-portage/portage-utils/portage-utils-0.1.29.ebuild index fba79d34088c..52787f93e1d5 100644 --- a/app-portage/portage-utils/portage-utils-0.1.29.ebuild +++ b/app-portage/portage-utils/portage-utils-0.1.29.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.1.29.ebuild,v 1.7 2008/05/11 04:16:14 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.1.29.ebuild,v 1.8 2008/05/11 04:21:16 solar Exp $ inherit toolchain-funcs eutils @@ -34,10 +34,10 @@ src_install() { } pkg_postinst() { - [ -e ${ROOT}/etc/portage/bin/post_sync ] && return 0 - mkdir -p ${ROOT}/etc/portage/bin/ + [ -e "${ROOT}"/etc/portage/bin/post_sync ] && return 0 + mkdir -p "${ROOT}"/etc/portage/bin/ -cat <<__EOF__ > ${ROOT}/etc/portage/bin/post_sync +cat <<__EOF__ > "${ROOT}"/etc/portage/bin/post_sync #!/bin/sh # Copyright 2006-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 @@ -52,10 +52,10 @@ else : fi __EOF__ - chmod 755 ${ROOT}/etc/portage/bin/post_sync - if [ ! -e ${ROOT}/etc/portage/postsync.d/q-reinitialize ]; then - mkdir -p ${ROOT}/etc/portage/postsync.d/ - echo '[ -x /usr/bin/q ] && /usr/bin/q -qr' > ${ROOT}/etc/portage/postsync.d/q-reinitialize + chmod 755 "${ROOT}"/etc/portage/bin/post_sync + if [ ! -e "${ROOT}"/etc/portage/postsync.d/q-reinitialize ]; then + mkdir -p "${ROOT}"/etc/portage/postsync.d/ + echo '[ -x /usr/bin/q ] && /usr/bin/q -qr' > "${ROOT}"/etc/portage/postsync.d/q-reinitialize elog "${ROOT}/etc/portage/postsync.d/q-reinitialize has been installed for convenience" elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x ${ROOT}/etc/portage/postsync.d/q-reinitialize" elog "Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer." |