xbps-src: respect -C for the origin pkg.

This commit is contained in:
Juan RP 2015-05-04 06:07:31 +02:00
parent a147fd86e7
commit 39115d823d

View file

@ -618,7 +618,7 @@ case "$XBPS_TARGET" in
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
chroot_handler $XBPS_TARGET $XBPS_TARGET_PKG
else
[ -z "$XBPS_TEMP_MASTERDIR" -a -z "$XBPS_SKIP_DEPS" ] && remove_pkg_autodeps
[ -z "$XBPS_KEEP_ALL" ] && remove_pkg_autodeps
$XBPS_LIBEXECDIR/build.sh $XBPS_TARGET_PKG $XBPS_TARGET_PKG \
$XBPS_TARGET $XBPS_CROSS_BUILD || exit $?
fi