xbps-src: s/git/chroot-git/g
This commit is contained in:
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}"
|
||||
|
||||
Reference in New Issue
Block a user