List Archive: gentoo-dev
| Navigation: |
|
Lists:
gentoo-dev:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
Christian Faulhammer <opfer@g.o>
|
|
From:
|
Greg KH <gregkh@g.o>
|
|
Subject:
|
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
|
|
Date:
|
Wed, 13 Feb 2008 09:36:43 -0800
|
|
On Wed, Feb 13, 2008 at 06:05:01PM +0100, Christian Faulhammer wrote:
> Hi,
>
> "Greg Kroah-Hartman (gregkh)" <gregkh@g.o>:
> > 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
--
gentoo-dev@g.o mailing list
|
|