Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




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


Replies:
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
-- Christian Faulhammer
References:
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
-- Christian Faulhammer
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
Next by thread:
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
Previous by date:
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
Next by date:
Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.