Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 270769 Details for
Bug 364237
app-admin/eselect-postgresql contains bashisms
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for postgresql.eselect
postgresql.eselect.patch (text/plain), 644 bytes, created by
Yuta SATOH
on 2011-04-21 12:33:24 UTC
(
hide
)
Description:
patch for postgresql.eselect
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2011-04-21 12:33:24 UTC
Size:
644 bytes
patch
obsolete
>--- postgresql.eselect.orig 2011-04-18 18:03:30 +0900 >+++ postgresql.eselect 2011-04-21 21:25:01 +0900 >@@ -81,8 +81,12 @@ > ### Get Slots Function ### > # Find all available slots in the preferred lib_dir() and return them. > get_slots() { >- echo $(find "${B_PATH}/$(lib_dir)" -maxdepth 1 -type d \ >- -regex '.*postgresql-[0-9]+\.[0-9]+' -printf '%f\n' | \ >+ if [ "`uname`" == "FreeBSD" ] ; then >+ local findopt="-E" >+ fi >+ echo $(find $findopt "${B_PATH}/$(lib_dir)" -maxdepth 1 -type d \ >+ -regex '.*postgresql-[0-9]+\.[0-9]+' -print0 | \ >+ xargs -0 | gawk '{ print gensub(/(.*)\/(.*)/,"\\2","") }' | \ > sed -re 's#^.+-##' | sort -n) > } >
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 Raw
Actions:
View
Attachments on
bug 364237
: 270769