mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
xbps-src: make sure that XBPS_BUILDDIR doesn't have multiple '/' (stupid firefox).
This commit is contained in:
parent
1409ec5fcd
commit
d21fc0ae41
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue