mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-12 21:10:21 +03:00
sbopkg: Fix detection for local repository.
Fixed #57. Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
parent
c0dfa99f28
commit
c702bb8aa0
@ -1086,8 +1086,12 @@ set_repo_vars() {
|
||||
REPO_GPG=${REPOSITORIES[$((i + 6))]}
|
||||
REPO_DIR=$REPO_ROOT/$REPO_NAME
|
||||
|
||||
# If the repository is updated using rsync / GIT
|
||||
if [[ $REPO_TOOL = "rsync" || $REPO_TOOL = "git" ]]; then
|
||||
checkout_${REPO_TOOL}_branch
|
||||
# this is for local repository
|
||||
elif [[ $REPO_TOOL = "" ]]; then
|
||||
REPO_DIR=$REPO_ROOT/$REPO_NAME/$REPO_BRANCH
|
||||
fi
|
||||
|
||||
# If the user specified a custom tag, use that one instead.
|
||||
|
@ -1,6 +1,6 @@
|
||||
SBOPKG NEWS
|
||||
|
||||
sbopkg-dev (2019-11-10 09:16:13 UTC)
|
||||
sbopkg-dev (2019-12-26 05:13:18 UTC)
|
||||
FEATURES
|
||||
* sqg: Parallelize building of single and all packages by option -j.
|
||||
Patch by Marcel Saegebarth.
|
||||
@ -28,6 +28,8 @@ sbopkg-dev (2019-11-10 09:16:13 UTC)
|
||||
Feature Request by wronguser (#50).
|
||||
* sbokg: Add better non-interactive/cron run support
|
||||
Initial patch by smallid (#56).
|
||||
* sbopkg: Add more detection to local repository
|
||||
Initial patch by arcctgx (#58)
|
||||
|
||||
MODIFICATIONS
|
||||
* bash-completion: Complete -i and -b when git repo is used
|
||||
|
Loading…
Reference in New Issue
Block a user