From 72d712adf0643a4b714116ebd648cdbb6d64c502 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Tue, 9 Oct 2018 16:39:49 -0400 Subject: Modify project_file_path() to return first matching path project_file_path() now returns the first matching path rather than the last. This is necessary to allow splitting up configuration files for projects into "base" and "overriding" configs. --- libs/project | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs') diff --git a/libs/project b/libs/project index e5162fb5..99d29927 100755 --- a/libs/project +++ b/libs/project @@ -1387,6 +1387,8 @@ project_file_path() { fi file_path="$path/$file" + + break done if [[ -z "$file_path" ]] -- cgit v1.2.3-70-g09d2