meson.build: fix date.py call under nix
This commit is contained in:
@ -107,13 +107,13 @@ build_aux = meson.project_source_root() / 'build-aux'
|
|||||||
pdate=find_program(build_aux / 'date.py')
|
pdate=find_program(build_aux / 'date.py')
|
||||||
env = environment()
|
env = environment()
|
||||||
env.set('LANG', 'C')
|
env.set('LANG', 'C')
|
||||||
mu_day_month_year = run_command(pdate, mu_date, '%d %B %Y',
|
mu_day_month_year = run_command('python3', pdate, mu_date, '%d %B %Y',
|
||||||
check:true, capture:true,
|
check:true, capture:true,
|
||||||
env: env).stdout().strip()
|
env: env).stdout().strip()
|
||||||
mu_month_year = run_command(pdate, mu_date, '%B %Y',
|
mu_month_year = run_command('python3', pdate, mu_date, '%B %Y',
|
||||||
check:true, capture:true,
|
check:true, capture:true,
|
||||||
env: env).stdout().strip()
|
env: env).stdout().strip()
|
||||||
mu_year = run_command(pdate, mu_date, '%Y',
|
mu_year = run_command('python3', pdate, mu_date, '%Y',
|
||||||
check:true, capture:true, env: env).stdout().strip()
|
check:true, capture:true, env: env).stdout().strip()
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user