libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0a2427bc686810b15f8458ecbd3f0942d62ecbc9
parent 0452c68d11103e4b7b6cf72ac90d0b50bd81ea19
Author: Swift Geek <swiftgeek@gmail.com>
Date:   Mon, 15 Jan 2018 04:40:50 +0000

Merge branch 'archive-create' of and_who/libreboot into master

Diffstat:
libs/project | 31++++---------------------------
1 file changed, 4 insertions(+), 27 deletions(-)

diff --git a/libs/project b/libs/project @@ -1081,34 +1081,11 @@ project_release_sources_archive_path() { local project=$1 shift - local sources_path="$root/$SOURCES/" - local release_path - local argument - local path="$project" - - for argument in "" "$@" - do - if [[ -n "$argument" ]] - then - path="$path-$argument" - fi - - local directory_path="$sources_path/$path" + local repository="$project" + local sources_path="$(project_sources_path "$project" "$repository" "$@")" + local archive_path="$root/$RELEASE/$SOURCES/$project/${sources_path##*/}.$ARCHIVE" - if ! directory_filled_check "$directory_path" - then - continue - fi - - release_path=$path - done - - if [[ -n "$release_path" ]] - then - local archive_path="$root/$RELEASE/$SOURCES/$project/$release_path.$ARCHIVE" - - printf '%s\n' "$archive_path" - fi + printf '%s\n' "$archive_path" } project_release_sources_archive_create() {