From 3d7964d0b6e2144fafdde9d64f1cb5319b4b5520 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 1 Jan 2012 20:08:42 -0600 Subject: [PATCH] script/makeworld: sh -c doesn't take multiple parameters; move convenience newline into the quotes --- script/makeworld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/makeworld b/script/makeworld index 013c9ae..d08c360 100755 --- a/script/makeworld +++ b/script/makeworld @@ -218,8 +218,8 @@ do meh "==> Step: ${step} -> ${build_log}" [ "${BUILD_VERBOSE}" ] || exec 3>&1 > /dev/null script "${build_log}" env -i ${env} chroot "${build}" sh -c \ - "cd /usr/src; time make ${MAKEOPTS} ${step} TARGET=${ARCH} DESTDIR=/mnt " \ - "${KERNCONFDIR:+KERNCONFDIR=${KERNCONFDIR}} ${KERNCONF:+KERNCONF=${KERNCONF}}" + "cd /usr/src; time make ${MAKEOPTS} ${step} DESTDIR=/mnt TARGET=${ARCH} \ + ${KERNCONFDIR:+KERNCONFDIR=${KERNCONFDIR}} ${KERNCONF:+KERNCONF=${KERNCONF}}" res=$? [ "${BUILD_VERBOSE}" ] || exec 1>&3 [ "${res}" -gt 0 ] && wtf "chroot-cmd ${step} failed; check log" -- 2.45.0