On 06:03 Sun 09 Mar , Rajiv Aaron Manglani (rajiv) wrote: > 1.1 sys-power/nut/nut-2.2.1.ebuild > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/nut/nut-2.2.1.ebuild?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/nut/nut-2.2.1.ebuild?rev=1.1&content-type=text/plain
> src_install() { ... > eval fperms 0640 ${NUT_PRIVATE_FILES} > eval fowners root:nut ${NUT_PRIVATE_FILES} > > eval fperms 0644 ${NUT_PUBLIC_FILES} > eval fowners root:root ${NUT_PUBLIC_FILES} ... > pkg_postinst() { > # this is to ensure that everybody that installed old versions still has > # correct permissions > > chown nut:nut "${ROOT}"/var/lib/nut 2>/dev/null > chmod 0700 "${ROOT}"/var/lib/nut 2>/dev/null > > eval chown root:nut "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null > eval chmod 0640 "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null > > eval chown root:root "${ROOT}"${NUT_PUBLIC_FILES} 2>/dev/null > eval chmod 0644 "${ROOT}"${NUT_PUBLIC_FILES} 2>/dev/null Is there any reason why eval is used in either of these places? Thanks, Donnie -- gentoo-dev@lists.gentoo.org mailing list