aboutsummaryrefslogtreecommitdiff
path: root/libs/project
diff options
context:
space:
mode:
Diffstat (limited to 'libs/project')
-rwxr-xr-xlibs/project5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/project b/libs/project
index d5d88d5b..00ad76c6 100755
--- a/libs/project
+++ b/libs/project
@@ -1435,7 +1435,10 @@ project_file_test() {
project_file_contents() {
local file_path=$( project_file_path "$@" )
- cat "$file_path"
+ if [ -f "$file_path" ]
+ then
+ cat "$file_path"
+ fi
}
project_file_contents_herit() {