svn commit: r257845 - head/usr.sbin/bsdinstall/scripts
Devin Teske
dteske at FreeBSD.org
Fri Nov 8 10:19:49 UTC 2013
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
More information about the svn-src-head
mailing list