=================================================================== RCS file: /cvs/openbsd/update_openbsd/release.sh,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- openbsd/update_openbsd/release.sh 2014/11/27 21:17:46 1.36 +++ openbsd/update_openbsd/release.sh 2015/11/27 22:36:12 1.37 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: release.sh,v 1.35 2014/11/08 20:32:55 andrew Exp $ +# $AFresh1: release.sh,v 1.36 2014/11/27 21:17:46 andrew Exp $ # # Copyright (c) 2002, 2008 Steven Roberts # @@ -86,14 +86,14 @@ local _status=0 unset DESTDIR RELEASEDIR empty_dir /usr/obj & -cd /usr/src && nice make obj +cd /usr/src && nice make $BUILD_ARGS obj _status=$? if [ $_status == 0 ]; then cd /usr/src/etc && env DESTDIR=/ $SUDO make distrib-dirs _status=$? fi if [ $_status == 0 ]; then - cd /usr/src && nice make SUDO="${SUDO}" build + cd /usr/src && nice make SUDO="${SUDO}" $BUILD_ARGS build fi if [ $_status != 0 ]; then echo System Build Failed @@ -134,15 +134,15 @@ cd $XSRCDIR _status=$? if [ $_status == 0 ]; then - make bootstrap + make $BUILD_ARGS bootstrap _status=$? fi if [ $_status == 0 ]; then - make obj + make $BUILD_ARGS obj _status=$? fi if [ $_status == 0 ]; then - make build + make $BUILD_ARGS build _status=$? fi if [ $_status != 0 ]; then