Date: Fri, 8 Nov 2013 10:19:48 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257845 - head/usr.sbin/bsdinstall/scripts Message-ID: <201311081019.rA8AJmV4028896@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Fri Nov 8 10:19:48 2013 New Revision: 257845 URL: http://svnweb.freebsd.org/changeset/base/257845 Log: I often forget that debugFile can begin with a + for deciding that debug should be sent to both the file (minus the leading +) and stdout. Modified: head/usr.sbin/bsdinstall/scripts/config Modified: head/usr.sbin/bsdinstall/scripts/config ============================================================================== --- head/usr.sbin/bsdinstall/scripts/config Fri Nov 8 10:14:32 2013 (r257844) +++ head/usr.sbin/bsdinstall/scripts/config Fri Nov 8 10:19:48 2013 (r257845) @@ -39,7 +39,7 @@ rm $BSDINSTALL_TMPBOOT/loader.conf.* cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot -[ "$debugFile" ] && cp "$debugFile" $BSDINSTALL_CHROOT/var/log/ +[ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/ # Set up other things from installed config chroot $BSDINSTALL_CHROOT /usr/bin/newaliases
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081019.rA8AJmV4028896>