aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-01-18 17:49:06 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2018-01-18 17:49:06 -0500
commitf3aaf856cc37521d272666927a0d855ff862efd5 (patch)
treeb2d5bedcfdc079d4eed4ff422e4b9e8682fc4c1a
parent5e36e31dfb6f4cc718b63a462c8e7486f7335735 (diff)
downloadlibrebootfr-f3aaf856cc37521d272666927a0d855ff862efd5.tar.gz
librebootfr-f3aaf856cc37521d272666927a0d855ff862efd5.zip
Don't bother checking for git repo in bucts source
bucts' sources are kept in its project directory which means we can skip checking for a git repository and instead skip straight to creating the sources archive when releasing images/sources. i.e., project_release_sources_git() called git_project_check() with 'bucts' as an argument, wasting time and resources looking in $root/$SOURCES/bucts (which doesn't exist) and ultimately concluding that the assumed location of bucts' sources isn't a git repository (which is true). We can avoid that circumlocution by simply calling project_release_sources_archive_create() instead of project_release_sources_git() within the release() and release_check() actions.
-rw-r--r--projects/bucts/bucts4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/bucts/bucts b/projects/bucts/bucts
index 4b5d81bb..4eea684a 100644
--- a/projects/bucts/bucts
+++ b/projects/bucts/bucts
@@ -83,14 +83,14 @@ release() {
local repository="$project"
project_release_install_archive "$project" "$TOOLS" "$@"
- project_release_sources_git "$project" "$repository" "$@"
+ project_release_sources_archive_create "$project" "$@"
}
release_check() {
local repository="bucts"
project_release_install_archive_check "$project" "$TOOLS" "$@"
- project_release_check_sources_git "$project" "$repository" "$@"
+ project_release_sources_archive_exists_check "$project" "$@"
}
clean() {