Bug 143903 - post macros are not compat with other versions of bash
post macros are not compat with other versions of bash
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2004-12-31 20:00 EST by Jeff Pitman
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-25 03:13:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch (587 bytes, patch)
2004-12-31 20:00 EST, Jeff Pitman
no flags Details | Diff

  None (edit)
Description Jeff Pitman 2004-12-31 20:00:16 EST
Description of problem:  
bash 2.05a (rh73, rhel2.1) returns 1 when unsetting an environment variable  
that is non-existent.  bash 2.05b+ (rh9+) returns 0.  Current script behavior  
depends on bash 2.05b+.  
Steps to Reproduce:  
1. Install redhat-rpm-config on rh73 (fedora legacy applicable) or rhel2.1.  
2. Build package. 
3. Fails when script executes "unset DISPLAY".
Comment 1 Jeff Pitman 2004-12-31 20:00:16 EST
Created attachment 109208 [details]
Proposed patch
Comment 2 Florian La Roche 2005-01-25 03:13:07 EST
Doesn't make sense to mix rpm-config with such old releases, I'll
close this report.
Comment 3 Jeff Pitman 2005-01-25 04:33:47 EST
For the record, rpm-config does work on 7.3 and creates debuginfo      
packages like later releases. Were it not for "unset DISPLAY", it   
would work fine. Not fixing it because the distro needs to be   
forward-looking is another issue and is most certainly acceptable.  

Note You need to log in before you can comment on or make changes to this bug.