common/chroot-style/proot.sh: XBPS_MASTERDIR -> MASTERDIR

This commit is contained in:
Juan RP 2015-04-09 19:33:16 +02:00
parent ed6345f938
commit 5214ac2e8f
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
exit 1
fi
exec proot -r $XBPS_MASTERDIR -w / -b $DISTDIR:/void-packages \
exec proot -r $MASTERDIR -w / -b $DISTDIR:/void-packages \
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
-b /sys:/sys $EXTRA_ARGS $@