Red Hat Bugzilla – Bug 143903
post macros are not compat with other versions of bash
Last modified: 2007-11-30 17:10:57 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".
Created attachment 109208 [details]
Doesn't make sense to mix rpm-config with such old releases, I'll
close this report.
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.