aboutsummaryrefslogtreecommitdiff
path: root/libs/git
diff options
context:
space:
mode:
authorSwift Geek <swiftgeek@gmail.com>2019-07-20 09:57:38 +0000
committerGogs <gogitservice@gmail.com>2019-07-20 09:57:38 +0000
commitb46680c8c15d8e84745f467035ca5e54262f2833 (patch)
tree141efeab7c396d915697608694b5135e6dc55fa0 /libs/git
parentfc8a1607cf2700238fa28c4b9b4950e6f3f1ea52 (diff)
parent7f8a0e4bc1e94db325cd0348c92c6005b6fd84cf (diff)
downloadlibrebootfr-b46680c8c15d8e84745f467035ca5e54262f2833.tar.gz
librebootfr-b46680c8c15d8e84745f467035ca5e54262f2833.zip
Merge branch 'better-patching' of and_who/libreboot into master
Diffstat (limited to 'libs/git')
-rwxr-xr-xlibs/git2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/git b/libs/git
index 429d4783..2cde3dd3 100755
--- a/libs/git
+++ b/libs/git
@@ -312,7 +312,7 @@ git_project_patch_recursive() {
git_patch "$repository_path" "$branch" "$patch" || return 1
done
- if [[ $path != . ]]; then
+ if [[ -n $path && $path != . ]]; then
git_project_patch_recursive "$project" "$repository" "$branch" "$(dirname "$path")"
fi
}