Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 135000 Details for
Bug 197787
app-office/{dia,dia2code,gnumeric}, dev-libs/boost, x11-libs/vte - wrong python handling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python-updater-fix-grep.patch
python-updater-fix-grep.patch (text/plain), 1.17 KB, created by
Ali Polatel (RETIRED)
on 2007-11-02 12:46:26 UTC
(
hide
)
Description:
python-updater-fix-grep.patch
Filename:
MIME Type:
Creator:
Ali Polatel (RETIRED)
Created:
2007-11-02 12:46:26 UTC
Size:
1.17 KB
patch
obsolete
>Index: python-updater >=================================================================== >--- python-updater (revision 15) >+++ python-updater (working copy) >@@ -169,11 +169,12 @@ > for content in `find ${PKG_DBDIR} -name CONTENTS`; do > # extract the category, package name and package version > CATPKGVER=$(echo ${content} | sed "s:${PKG_DBDIR}/\(.*\)/CONTENTS:\1:") >+ CATPKG="${CATPKGVER%%-[0-9]*}" > > # exclude packages that are an exception, like portage and python itself. > exception=0 > for exp in ${PKGS_EXCEPTIONS}; do >- if [ -n "$(echo ${CATPKGVER} | grep ${exp})" ]; then >+ if [ -z "${CATPKG##${exp}}" ]; then > exception=1 > break; > fi >@@ -186,7 +187,7 @@ > # Check if package is in PKGS_MANUAL > if [[ DIRECT_ONLY -ne 1 ]]; then > for pkg in ${PKGS_MANUAL}; do >- if [ -n "$(echo ${CATPKGVER} | grep ${pkg})" ]; then >+ if [ -z "${CATPKG##${pkg}}" ]; then > exception=2 > break; > fi >@@ -197,7 +198,7 @@ > > # replace version number by SLOT if IGNORE_VERSIONS != 0 > if [[ IGNORE_VERSIONS -ne 0 ]]; then >- CATPKGVER="${CATPKGVER%%-[0-9]*}:${SLOT}" >+ CATPKGVER="${CATPKG}:${SLOT}" > else > CATPKGVER="=${CATPKGVER}" > fi
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 197787
: 135000