xbps-src: s/git/chroot-git/g
This commit is contained in:
parent
67206a5e26
commit
af6ee5374e
2 changed files with 2 additions and 2 deletions
2
xbps-src
2
xbps-src
|
@ -221,7 +221,7 @@ check_build_requirements() {
|
|||
if [ -z "$XBPS_ALT_REPOSITORY" ]; then
|
||||
pushd "$PWD" &>/dev/null
|
||||
cd $XBPS_DISTDIR
|
||||
_gitbranch="$(git symbolic-ref --short HEAD 2>/dev/null)"
|
||||
_gitbranch="$(chroot-git symbolic-ref --short HEAD 2>/dev/null)"
|
||||
if [ -n "${_gitbranch}" -a "${_gitbranch}" != "master" ]; then
|
||||
export XBPS_ALT_REPOSITORY="${_gitbranch}"
|
||||
export XBPS_REPOSITORY="${XBPS_REPOSITORY}/${_gitbranch}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue