From 05d5710577786516c8f29735246edeafc86c85fe Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 24 Dec 2016 21:00:26 +0100 Subject: libs: git: Check that blobs path is a valid file Signed-off-by: Paul Kocialkowski --- libs/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/git') diff --git a/libs/git b/libs/git index 1b451724..e64173d9 100755 --- a/libs/git +++ b/libs/git @@ -301,7 +301,7 @@ git_project_prepare_blobs() { local blobs_path=$( project_blobs_path "$project" "$@" ) local blob - if [ -z "$blobs_path" ] + if ! [ -f "$blobs_path" ] then return fi -- cgit v1.2.3-70-g09d2