Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 160344

Summary: tla.eclass pollutes environment (dotglob)
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: EclassesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: critical CC: dev-portage, flameeyes
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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.