xbps-src: do not use ${version} to compose XBPS_STATEDIR.

GNU autoconf configure scripts will separate PATH components with `:'
and some pkgs could use this char in its version component.
This commit is contained in:
Juan RP 2014-12-22 12:15:34 +01:00
parent 3170e0b509
commit 4a91db3b95

View file

@ -397,7 +397,7 @@ setup_pkg() {
exit 0
fi
export XBPS_STATEDIR="${XBPS_BUILDDIR}/.xbps-${sourcepkg}-${version}"
export XBPS_STATEDIR="${XBPS_BUILDDIR}/.xbps-${sourcepkg}"
export XBPS_WRAPPERDIR="${XBPS_STATEDIR}/wrappers"
mkdir -p $XBPS_WRAPPERDIR
}