Bug 82865

Summary: rpm --eval returns non-zero exit status
Product: [Retired] Red Hat Linux Beta Reporter: Nalin Dahyabhai <nalin>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: beta4   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-28 12:34:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nalin Dahyabhai 2003-01-27 22:02:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030121

Description of problem:
When I use rpm --eval to evaluate a macro, the shell exit status is 3.  I would
expect 0 when the macro is evaluated properly (i.e., evaluation completes
without having to break out of an infinite recursion).

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpm --eval '%{_libdir}'
2. echo $?

Actual Results:  3

Expected Results:  0

Comment 1 Nalin Dahyabhai 2003-01-27 22:03:31 UTC
Whoops, checked with rpm-4.2-0.61 and rpm-4.2-0.62.

Comment 2 Jeff Johnson 2003-01-28 12:34:08 UTC
Duh, my brain fart. Fixed in rpm-4.2-0.63 when bu7ilt.