1 |
On Wed, Feb 13, 2008 at 06:05:01PM +0100, Christian Faulhammer wrote: |
2 |
> Hi, |
3 |
> |
4 |
> "Greg Kroah-Hartman (gregkh)" <gregkh@g.o>: |
5 |
> > src_install() { |
6 |
> > sed -i -e 's-\(prefix:\) ~-\1 /usr-' setup.cfg |
7 |
> > distutils_src_install |
8 |
> > dodir /usr/share/doc/${PF} |
9 |
> > mv ${D}/usr/share/${PN}/examples ${D}/usr/share/doc/${PF} |
10 |
> > rmdir ${D}/usr/share/doc/${PN} |
11 |
> > dobashcompletion contrib/stgit-completion.bash ${PN} |
12 |
> > } |
13 |
> |
14 |
> Please watch your quotes for variables that can contain spaces, like |
15 |
> ${D}. |
16 |
|
17 |
Hey, I just bumped the ebuild, I didn't write the first one :) |
18 |
|
19 |
So, what would be the correct fix here? Something like: |
20 |
mv "${D}/usr/share/${PN}/examples" "${D}/usr/share/doc/${PF}" |
21 |
rmdir "${D}/usr/share/doc/${PN}" |
22 |
|
23 |
thanks, |
24 |
|
25 |
greg k-h |
26 |
-- |
27 |
gentoo-dev@l.g.o mailing list |