Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 153375 Details for
Bug 222439
doman should support foo.lang.N filenames
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
doman-langsufix.patch
doman-langsufix.patch (text/plain), 832 bytes, created by
Yuri Vasilevski (RETIRED)
on 2008-05-16 21:17:13 UTC
(
hide
)
Description:
doman-langsufix.patch
Filename:
MIME Type:
Creator:
Yuri Vasilevski (RETIRED)
Created:
2008-05-16 21:17:13 UTC
Size:
832 bytes
patch
obsolete
>--- doman.orig 2008-05-16 15:56:22.000000000 -0500 >+++ doman 2008-05-16 15:56:11.000000000 -0500 >@@ -31,7 +31,16 @@ for x in "$@" ; do > suffix=${realname##*.} > fi > >- mandir=${i18n}man${suffix:0:1} >+ manlang=$( expr ${x} : '.*\.\([a-z][a-z]\(\_[A-Z][A-Z]\)\?\)\.' ) >+ >+ if [[ -n "${manlang}" ]] ; then >+ maname=${x/.${manlang}/} >+ mandir=${manlang}/man${suffix:0:1} >+ else >+ maname=${x} >+ mandir=${i18n}man${suffix:0:1} >+ fi >+ > > if echo ${mandir} | egrep -q 'man[0-9n](|f|p|pm)$' -; then > if [[ -s ${x} ]] ; then >@@ -39,7 +48,7 @@ for x in "$@" ; do > install -d "${D}/usr/share/man/${mandir}" > fi > >- install -m0644 "${x}" "${D}/usr/share/man/${mandir}" >+ install -m0644 "${x}" "${D}/usr/share/man/${mandir}/${maname}" > ((ret+=$?)) > elif [[ ! -e ${x} ]] ; then > vecho "doman: ${x} does not exist" 1>&2
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 222439
:
153375
|
154375