grep in spec file causes rpmbuild to abort with bad exit status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux