xbps-src: fix uchroot chroot-style to not overwrite XBPS_CHROOT_CMD_ARGS.

This commit is contained in:
Juan RP 2015-12-12 10:03:41 +01:00
parent 6da821d3dc
commit ba4bba2031
2 changed files with 4 additions and 10 deletions

View file

@ -2,10 +2,13 @@
#
# This chroot script uses xbps-uchroot(8).
#
if [ -n "$XBPS_TEMP_MASTERDIR" ]; then
ARGS="-O"
fi
readonly MASTERDIR="$1"
readonly DISTDIR="$2"
readonly HOSTDIR="$3"
readonly EXTRA_ARGS="$4"
readonly EXTRA_ARGS="$ARGS $4"
readonly CMD="$5"
shift 5