[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
grep in spec file causes rpmbuild to abort with bad exit status
- From: marks <marks adax com>
- To: rpm-list redhat com
- Subject: grep in spec file causes rpmbuild to abort with bad exit status
- Date: Tue, 9 Jan 2007 16:14:23 -0800 (PST)
Hi,
I'm using grep in the install section of my spec file to determine
if another file does or does not contain a piece of information.
rpmbuild is aborting with a "bad exit status" message when grep
does not find the item of interest.
I'd like to have rpmbuild ignore the bad exit status from grep so
that I can control what is done depending on whether grep finds my
string or not.
Is there a way to turn off rpmbuild's abort of the entire build
temporarily while I do the grep?
--
Thanks,
Mark
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]