Commit 52d21580 authored by Michal Marek's avatar Michal Marek Committed by Steven Rostedt

ktest: Use make -s kernelrelease

The previous tail -1 broke with commit 7ff52571 ("kbuild: fake the
"Entering directory ..." message more simply")

Link: http://lkml.kernel.org/r/20141022194408.GA20989@pobox.suse.czReported-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent f114040e
......@@ -2005,7 +2005,7 @@ sub get_version {
# get the release name
return if ($have_version);
doprint "$make kernelrelease ... ";
$version = `$make kernelrelease | tail -1`;
$version = `$make -s kernelrelease`;
chomp($version);
doprint "$version\n";
$have_version = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment