Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160344 - tla.eclass pollutes environment (dotglob)
Summary: tla.eclass pollutes environment (dotglob)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 17:03 UTC by SpanKY
Modified: 2007-01-22 17:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-01-05 17:03:50 UTC
the tla_src_unpack function sets dotglob but fails to restore the environment the way it found it

for the proper way to do things, consider the eutils code:
local shopts=$-
set -o noglob #so that bash doesn't expand "*"
...
set +o noglob; set -$shopts #reset old shell opts
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-01-22 17:48:42 UTC
FIxed in cvs, thanks for reporting.