Date: Fri, 13 Feb 2015 21:21:38 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r278711 - projects/release-install-debug/usr.sbin/bsdinstall/scripts Message-ID: <201502132121.t1DLLcc6002609@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Fri Feb 13 21:21:38 2015 New Revision: 278711 URL: https://svnweb.freebsd.org/changeset/base/278711 Log: Fix WANT_DEBUG boolean test. Submitted by: jilles Sponsored by: The FreeBSD Foundation Modified: projects/release-install-debug/usr.sbin/bsdinstall/scripts/auto Modified: projects/release-install-debug/usr.sbin/bsdinstall/scripts/auto ============================================================================== --- projects/release-install-debug/usr.sbin/bsdinstall/scripts/auto Fri Feb 13 21:19:54 2015 (r278710) +++ projects/release-install-debug/usr.sbin/bsdinstall/scripts/auto Fri Feb 13 21:21:38 2015 (r278711) @@ -162,7 +162,7 @@ esac if [ ! -z "$FETCH_DISTRIBUTIONS" ]; then ALL_DISTRIBUTIONS="$DISTRIBUTIONS" - WANT_DEBUG=false + WANT_DEBUG= # Download to a directory in the new system as scratch space BSDINSTALL_FETCHDEST="$BSDINSTALL_CHROOT/usr/freebsd-dist" @@ -186,7 +186,7 @@ if [ ! -z "$FETCH_DISTRIBUTIONS" ]; then *-dbg.*) [ -e $BSDINSTALL_DISTDIR/$_DISTRIBUTION ] \ && continue - WANT_DEBUG=true + WANT_DEBUG=1 DEBUG_LIST="\n$DEBUG_LIST\n$_DISTRIBUTION" ;; *) @@ -204,7 +204,7 @@ if [ ! -z "$FETCH_DISTRIBUTIONS" ]; then # installation, since failure to fetch *-dbg.txz should not # be considered a fatal installation error. msg="Failed to fetch remote distribution" - if [ $WANT_DEBUG ]; then + if [ ! -z "$WANT_DEBUG" ]; then # Trim leading and trailing newlines. DEBUG_LIST="${DEBUG_LIST%%\n}" DEBUG_LIST="${DEBUG_LIST##\n}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502132121.t1DLLcc6002609>