Revert "xbps-src: simplify chroot_handler usage."

This reverts commit 0e0eb9001a.

Introduces new issues... revert until it's fixed properly.
This commit is contained in:
Juan RP 2015-01-04 12:14:14 +01:00
parent 0e0eb9001a
commit 6100f83bcf
2 changed files with 29 additions and 10 deletions

View file

@ -164,7 +164,7 @@ chroot_handler() {
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
if [ -n "$IN_CHROOT" -o -z "$CHROOT_READY" ]; then
return 1
return 0
fi
# Debian uses /run/shm instead...
if [ -d /run/shm ]; then