xbps-src: make sure that XBPS_BUILDDIR doesn't have multiple '/' (stupid firefox).
This commit is contained in:
parent
1409ec5fcd
commit
d21fc0ae41
|
@ -37,8 +37,10 @@ set_defvars()
|
|||
XBPS_SRCPKGDIR=$XBPS_DISTRIBUTIONDIR/srcpkgs
|
||||
if [ -n "$IN_CHROOT" ]; then
|
||||
XBPS_DESTDIR=/destdir
|
||||
XBPS_BUILDDIR=/builddir
|
||||
else
|
||||
XBPS_DESTDIR=$XBPS_MASTERDIR/destdir
|
||||
XBPS_BUILDDIR=$XBPS_MASTERDIR/builddir
|
||||
fi
|
||||
if [ -n "$XBPS_HOSTDIR" ]; then
|
||||
XBPS_PACKAGESDIR=$XBPS_HOSTDIR/binpkgs
|
||||
|
@ -47,7 +49,6 @@ set_defvars()
|
|||
XBPS_SRCDISTDIR=$XBPS_MASTERDIR/host/sources
|
||||
XBPS_PACKAGESDIR=$XBPS_MASTERDIR/host/binpkgs
|
||||
fi
|
||||
XBPS_BUILDDIR=$XBPS_MASTERDIR/builddir
|
||||
XBPS_TRIGGERSDIR=$XBPS_SRCPKGDIR/xbps-triggers/files
|
||||
|
||||
DDIRS="TRIGGERSDIR HELPERSDIR SRCPKGDIR COMMONVARSDIR SHUTILSDIR"
|
||||
|
|
Loading…
Reference in New Issue