Miguel Bernal Marin wrote:
> The modprobedatadir is now set as a meson option, but without a
> default value.
> 
> Set the default value if modprobedatadir is not set.
> 
> Fixes: 524ad09d5eda ("meson: make modprobedatadir an option")
> Signed-off-by: Miguel Bernal Marin <miguel.bernal.ma...@linux.intel.com>
> ---
>  contrib/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/contrib/meson.build b/contrib/meson.build
> index ad63a50..48aa7c0 100644
> --- a/contrib/meson.build
> +++ b/contrib/meson.build
> @@ -26,6 +26,6 @@ endif
>  
>  modprobedatadir = get_option('modprobedatadir')
>  if modprobedatadir == ''
> -  modprobedatadir = get_option('modprobedatadir')
> +  modprobedatadir = sysconfdir + '/modprobe.d/'

Looks good to me:

Reviewed-by: Dan Williams <dan.j.willi...@intel.com>

Reply via email to