aboutsummaryrefslogtreecommitdiff
path: root/libs/project
diff options
context:
space:
mode:
Diffstat (limited to 'libs/project')
-rwxr-xr-xlibs/project2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/project b/libs/project
index 908f8942..34b139a5 100755
--- a/libs/project
+++ b/libs/project
@@ -587,7 +587,7 @@ project_sources_patch_recursive() {
diff_patch "$sources_path" "$patch" || return 1
done
- if [[ $path != . ]]; then
+ if [[ -n $path && $path != . ]]; then
project_sources_patch_recursive "$project" "$(dirname "$path")"
fi
}