Fix incorrect error checking in CHROOT case, and incorrect error handling
that hid the problem.
b=16798
cp `which dbench` $DIR
LIBS71=$(ldd $DIR/dbench|sed -e 's/\t*//' -e 's/.*=> //' -e 's/ .*//' -e 's/^\///')
(cd / && tar chf - $LIBS71) | (cd $DIR && tar xvf -)
- [ $? = 0 ] && ( echo "can't copy libs $LIBS71 to $DIR" && exit 1 )
+ [ $? != 0 ] && echo "can't copy libs $LIBS71 to $DIR" && exit 1
RUN="chroot $DIR"
PREFIX="in"
PATH=.:/:$PATH