xbps-src: s/git/chroot-git/g

This commit is contained in:
Juan RP 2014-07-27 16:29:18 +02:00
parent 67206a5e26
commit af6ee5374e
2 changed files with 2 additions and 2 deletions

View file

@ -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}"