[PATCH AUTOSEL 4.14 11/19] perf tools: Fix use of alternatives to find JDIR

2018-10-30 Thread Sasha Levin
From: Jarod Wilson [ Upstream commit 36b8d4628d3cc8f5a748e508cce8673bc00fc63c ] When a build is run from something like a cron job, the user's $PATH is rather minimal, of note, not including /usr/sbin in my own case. Because of that, an automated rpm package build ultimately fails to find

[PATCH AUTOSEL 4.14 11/19] perf tools: Fix use of alternatives to find JDIR

2018-10-30 Thread Sasha Levin
From: Jarod Wilson [ Upstream commit 36b8d4628d3cc8f5a748e508cce8673bc00fc63c ] When a build is run from something like a cron job, the user's $PATH is rather minimal, of note, not including /usr/sbin in my own case. Because of that, an automated rpm package build ultimately fails to find