Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 291277 Details for
Bug 382219
>=app-portage/gentoolkit-0.3: euse adds junk to /etc/make.conf
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable globbing completely
euse-0.3.0.4-r4-no-globbing-period.patch (text/plain), 1.59 KB, created by
Jared Hancock
on 2011-10-30 20:25:05 UTC
(
hide
)
Description:
Disable globbing completely
Filename:
MIME Type:
Creator:
Jared Hancock
Created:
2011-10-30 20:25:05 UTC
Size:
1.59 KB
patch
obsolete
>--- /usr/bin/euse 2011-08-15 18:56:27.000000000 -0500 >+++ euse-0.3.0.4-r4 2011-08-15 21:06:03.000000000 -0500 >@@ -1,4 +1,6 @@ > #!/bin/bash >+# Disable globbing because "-*" and such is valid as a use flag. >+set -f > > # $Header$ > >@@ -252,6 +254,7 @@ > # 5: ebuild IUSE, 6: use.mask, 7: use.force, > # 9: flags indicated active by emerge --info (get_portageuseflags) > get_useflags() { >+ set +f > if [[ -z ${ACTIVE_FLAGS[4]} && ( $SCOPE == "local" || -z $SCOPE ) ]]; then > # Parse through /etc/portage/package.use > if [[ -d ${PACKAGE_USE_PATH} ]]; then >@@ -306,6 +309,7 @@ > | sed -re "/^#.*$/ {d}")) > > USE_FLAGS_CALCULATED=1 >+ set -f > } # }}} > > # Function: get_portageuseflags # {{{ >@@ -398,7 +402,7 @@ > echo "!!! to generate metadata for your overlays" >&2 > return 1 > fi >- append=$(ls $portdir/metadata/cache/${1}-* \ >+ append=$(set +f; ls $portdir/metadata/cache/${1}-* \ > | egrep "${1}-[0-9.]+" \ > | sed -e "s:$portdir/metadata/cache/${1}-::g" \ > | while read -d $'\n' version; do >@@ -739,7 +743,6 @@ > local found_one > local args > >- set -f > args="${*:-*}" > > if [ -z "${SCOPE}" ]; then >@@ -754,7 +757,6 @@ > [ "${SCOPE}" == "global" ] && echo "global use flags (searching: ${args})" > [ "${SCOPE}" == "local" ] && echo "local use flags (searching: ${args})" > echo "************************************************************" >- set +f > if [ "${args}" == "*" ]; then > args="${useflags[*]}" > fi >@@ -1280,11 +1282,8 @@ > > ##### main program comes now ##### > >-# disable globbing as it fucks up with args=* >-set -f > parse_arguments "$@" > check_sanity >-set +f > > eval ${MODE} ${ARGUMENTS} >
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 382219
:
290473
| 291277