diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2018-10-09 16:39:49 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2018-10-09 16:39:49 -0400 |
commit | 72d712adf0643a4b714116ebd648cdbb6d64c502 (patch) | |
tree | d984945db319c65d208c23bff72b6826f4e1dcb4 | |
parent | b7e46d8a053f7b3ba4c4d51c65ba735e67a50674 (diff) | |
download | librebootfr-72d712adf0643a4b714116ebd648cdbb6d64c502.tar.gz librebootfr-72d712adf0643a4b714116ebd648cdbb6d64c502.zip |
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.
-rwxr-xr-x | libs/project | 2 |
1 files changed, 2 insertions, 0 deletions
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" ]] |