diff options
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build index 93f0e679fe..a051f77a52 100644 --- a/test/meson.build +++ b/test/meson.build @@ -187,7 +187,7 @@ endif if want_tests != 'false' and dmi_arches.contains(host_machine.cpu_family()) udev_dmi_memory_id_test = find_program('udev-dmi-memory-id-test.sh') - if git.found() and fs.exists(project_source_root / '.git') + if git.found() and fs.is_dir(project_source_root / '.git') out = run_command( env, '-u', 'GIT_WORK_TREE', git, '--git-dir=@0@/.git'.format(project_source_root), |