public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
       [not found] <E1JPKw6-0004jy-Mz@stork.gentoo.org>
@ 2008-02-13 17:05 ` Christian Faulhammer
  2008-02-13 17:36   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Faulhammer @ 2008-02-13 17:05 UTC (permalink / raw
  To: gentoo-dev, gregkh

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

Hi,

"Greg Kroah-Hartman (gregkh)" <gregkh@gentoo.org>:
> 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}.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
  2008-02-13 17:05 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild Christian Faulhammer
@ 2008-02-13 17:36   ` Greg KH
  2008-02-13 17:45     ` Christian Faulhammer
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2008-02-13 17:36 UTC (permalink / raw
  To: Christian Faulhammer; +Cc: gentoo-dev

On Wed, Feb 13, 2008 at 06:05:01PM +0100, Christian Faulhammer wrote:
> Hi,
> 
> "Greg Kroah-Hartman (gregkh)" <gregkh@gentoo.org>:
> > 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@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
  2008-02-13 17:36   ` Greg KH
@ 2008-02-13 17:45     ` Christian Faulhammer
  2008-02-15  7:28       ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Faulhammer @ 2008-02-13 17:45 UTC (permalink / raw
  To: Greg KH; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

Hi,

Greg KH <gregkh@gentoo.org>:
> Hey, I just bumped the ebuild, I didn't write the first one :)

 No accuses, just review. :)  Touch it and you are responsible.
 
> 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}"

 Yes.  Around ${D} alone is enough though.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild
  2008-02-13 17:45     ` Christian Faulhammer
@ 2008-02-15  7:28       ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2008-02-15  7:28 UTC (permalink / raw
  To: Christian Faulhammer; +Cc: gentoo-dev

On Wed, Feb 13, 2008 at 06:45:42PM +0100, Christian Faulhammer wrote:
> Hi,
> 
> Greg KH <gregkh@gentoo.org>:
> > Hey, I just bumped the ebuild, I didn't write the first one :)
> 
>  No accuses, just review. :)  Touch it and you are responsible.
>  
> > 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}"
> 
>  Yes.  Around ${D} alone is enough though.

Ok, thanks, changed in the new release.

greg k-h
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-15  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JPKw6-0004jy-Mz@stork.gentoo.org>
2008-02-13 17:05 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/stgit: ChangeLog stgit-0.14.ebuild Christian Faulhammer
2008-02-13 17:36   ` Greg KH
2008-02-13 17:45     ` Christian Faulhammer
2008-02-15  7:28       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox