aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-04-18 21:49:59 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2019-04-18 23:12:05 -0400
commit9d8a941c679faa2818e238f8869e13e43b99fe54 (patch)
treec06b58170e96c60a55b67218d2e9bc7b798d80b0
parentf18c37229bf84432ebfa77e4360cb99b561c5768 (diff)
downloadlibrebootfr-9d8a941c679faa2818e238f8869e13e43b99fe54.tar.gz
librebootfr-9d8a941c679faa2818e238f8869e13e43b99fe54.zip
libs/project: Fail update check for git sources
"update" actions were failing ever since revision b7fcc477 for projects with git sources due to an error in project_update_check_git() not returning 1 when it determined that the project's sources was a git repo (to force an update, always).
-rwxr-xr-xlibs/project2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/project b/libs/project
index fb986f89..ea02293c 100755
--- a/libs/project
+++ b/libs/project
@@ -789,7 +789,7 @@ project_update_check_git() {
requirements "git"
- if ! git_project_check "$repository"
+ if git_project_check "$repository"
then
# Git repository should always be updated (even if upstream didn't progress).
# For instance, this is useful for testing new versions of patches without changing revision.