From 49120f48474fc8fdc2448c75d961bc238213cfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 1 May 2018 14:34:32 +0200 Subject: New upstream version 0.28.2 --- src/util/system.vala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/util/system.vala') diff --git a/src/util/system.vala b/src/util/system.vala index f2436e4..38abf1e 100644 --- a/src/util/system.vala +++ b/src/util/system.vala @@ -10,6 +10,11 @@ File? get_sys_install_dir(File exec_dir) { File child = exec_dir.get_child("ui"); if (!FileUtils.test(child.get_path(), FileTest.IS_DIR | FileTest.EXISTS)) { + // If not, let's see if we are in "src" dir - meson out-of-tree build + if (exec_dir.get_basename() == "src") { + return null; + } + return File.new_for_path(Resources.PREFIX); } -- cgit v1.2.3