xbps-src: <destdir> and <builddir> must not be in XBPS_HOSTDIR.

This commit is contained in:
Juan RP 2011-07-08 02:25:51 +02:00
parent b6c21b960b
commit 2b9aec22ea
3 changed files with 5 additions and 6 deletions

View file

@ -37,12 +37,12 @@ set_defvars()
: ${XBPS_PKGMETADIR:=$XBPS_DBDIR/metadata}
: ${XBPS_SRCPKGDIR:=$XBPS_DISTRIBUTIONDIR/srcpkgs}
if [ -n "$IN_CHROOT" ]; then
: ${XBPS_DESTDIR:=/host/destdir}
: ${XBPS_DESTDIR:=/destdir}
else
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/host/destdir}
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/destdir}
fi
: ${XBPS_PACKAGESDIR:=$XBPS_MASTERDIR/host/binpkgs}
: ${XBPS_BUILDDIR:=$XBPS_MASTERDIR/host/build}
: ${XBPS_BUILDDIR:=$XBPS_MASTERDIR/builddir}
: ${XBPS_SRCDISTDIR:=$XBPS_MASTERDIR/host/sources}
: ${XBPS_TRIGGERSDIR:=$XBPS_SRCPKGDIR/xbps-triggers/files}