On Wed, Feb 13, 2008 at 06:05:01PM +0100, Christian Faulhammer wrote:
> Hi,
>
> "Greg Kroah-Hartman (gregkh)" <[EMAIL PROTECTED]>:
> > src_install() {
> > sed -i -e 's-\(prefix:\) ~-\1 /usr-' setup.cfg
> > distutils_src_install
> > dodir /usr/share/doc/${PF}
> > mv ${D}/usr/share/${PN}/examples ${D}/usr/share/doc/${PF}
> > rmdir ${D}/usr/share/doc/${PN}
> > dobashcompletion contrib/stgit-completion.bash ${PN}
> > }
>
> Please watch your quotes for variables that can contain spaces, like
> ${D}.
Hey, I just bumped the ebuild, I didn't write the first one :)
So, what would be the correct fix here? Something like:
mv "${D}/usr/share/${PN}/examples" "${D}/usr/share/doc/${PF}"
rmdir "${D}/usr/share/doc/${PN}"
thanks,
greg k-h
--
[email protected] mailing list