diff --git a/build.sh b/build.sh index 34549482664e..b751b17ad541 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.273 2013/08/30 10:29:06 pooka Exp $ +# $NetBSD: build.sh,v 1.274 2014/01/13 20:00:20 apb Exp $ # # Copyright (c) 2001-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -1286,7 +1286,7 @@ sanitycheck() # if ! ${do_expertmode} && \ [ "$id_u" -ne 0 ] && \ - [ "${MKUNPRIVED}" = "no" ] ; then + [ "${MKUNPRIVED:-no}" = "no" ] ; then bomb "-U or -E must be set for build as an unprivileged user." fi @@ -1745,7 +1745,7 @@ createmakewrapper() eval cat <