On Wed, 23 Feb 2005, Dag Wieers wrote:
On Tue, 22 Feb 2005, Joe Sauer wrote:
Dag problem found:
diff keepalived-1.1.10-rf.spec keepalived-1.1.10-rf.spec.orig 5c5 < %{!?kernel:%define kernel %(rpm -q kernel-source --qf '% {RPMTAG_VERSION}-%{RPMTAG_RELEASE}\n' | tail -1)}
%{!?kernel:%define kernel %(rpm --quiet -q kernel-source --qf '%
{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' | tail -1)}
Actually the --quiet is necessary, and the \n is definitely required. Somehow it used to work without that.
I have to correct myself. The --quiet here is suspending all output (not only error output), so the fix is more complex now.
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]