xbps-src: respect XBPS_HOSTDIR for XBPS_SRCDISTDIR.
This commit is contained in:
parent
11d8ed9c19
commit
66d47f8616
|
@ -42,12 +42,13 @@ set_defvars()
|
|||
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/destdir}
|
||||
fi
|
||||
if [ -n "$XBPS_HOSTDIR" ]; then
|
||||
: ${XBPS_PACKAGESDIR=$XBPS_HOSTDIR/binpkgs}
|
||||
: ${XBPS_PACKAGESDIR:=$XBPS_HOSTDIR/binpkgs}
|
||||
: ${XBPS_SRCDISTDIR:=$XBPS_HOSTDIR/sources}
|
||||
else
|
||||
: ${XBPS_SRCDISTDIR:=$XBPS_MASTERDIR/host/sources}
|
||||
: ${XBPS_PACKAGESDIR:=$XBPS_MASTERDIR/host/binpkgs}
|
||||
fi
|
||||
: ${XBPS_BUILDDIR:=$XBPS_MASTERDIR/builddir}
|
||||
: ${XBPS_SRCDISTDIR:=$XBPS_MASTERDIR/host/sources}
|
||||
: ${XBPS_TRIGGERSDIR:=$XBPS_SRCPKGDIR/xbps-triggers/files}
|
||||
|
||||
DDIRS="TRIGGERSDIR HELPERSDIR SRCPKGDIR COMMONVARSDIR SHUTILSDIR"
|
||||
|
|
Loading…
Reference in New Issue