Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210871 - app-arch/gzip - /bin/gunzip sets wrong PATH.
Summary: app-arch/gzip - /bin/gunzip sets wrong PATH.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-20 12:38 UTC by Vsevolod Kozlov
Modified: 2008-02-20 20:01 UTC (History)
0 users

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 Vsevolod Kozlov 2008-02-20 12:38:23 UTC
Line 2 of the /bin/gunzip script mentions /usr/bin, while the gzip utilities are in /bin. If /bin is not in PATH already, /bin/gunzip will fail to execute the real gzip.

Reproducible: Always

Steps to Reproduce:
1. PATH='' /bin/gunzip
2.
3.

Actual Results:  
/bin/gunzip: line 3: exec: gzip: not found

Expected Results:  
gzip called with appropriate parameters
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-02-20 20:01:02 UTC
fixed in gzip-1.3.12-r1