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