Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71865 Details for
Bug 15193
recursive dodoc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
alternative dodoc patch
dodoc.patch (text/plain), 830 bytes, created by
Roy Marples (RETIRED)
on 2005-11-01 06:13:28 UTC
(
hide
)
Description:
alternative dodoc patch
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2005-11-01 06:13:28 UTC
Size:
830 bytes
patch
obsolete
>--- dodoc 2005-11-01 13:34:08.000000000 +0000 >+++ /tmp/dodoc 2005-11-01 13:33:44.808741273 +0000 >@@ -9,15 +9,26 @@ > fi > > dir="${D}usr/share/doc/${PF}/${DOCDESTTREE}" >-if [ ! -d "${dir}" ] ; then >- install -d "${dir}" >-fi > >-for x in "$@" ; do >- if [ -s "${x}" ] ; then >- install -m0644 "${x}" "${dir}" >- gzip -f -9 "${dir}/${x##*/}" >- elif [ ! -e "${x}" ] ; then >- echo "dodoc: ${x} does not exist" 1>&2 >+_dodoc() { >+ if [ ! -d "${dir}" ] ; then >+ install -d "${dir}" > fi >-done >+ >+ local x >+ for x in "$@" ; do >+ if [ -d "${x}" ] ; then >+ local sdir="${dir}" >+ dir="${dir}/${x}" >+ _dodoc "${x}"/* >+ dir="${sdir}" >+ elif [ -s "${x}" ] ; then >+ install -m0644 "${x}" "${dir}" >+ gzip -f -9 "${dir}/${x##*/}" >+ elif [ ! -e "${x}" ] ; then >+ echo "dodoc: ${x} does not exist" 1>&2 >+ fi >+ done >+} >+ >+_dodoc "$@"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15193
:
7971
|
15257
|
15258
|
15259
| 71865