Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 15:29:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208938] usr.sbin/config does not preserve whitespace in static env
Message-ID:  <bug-208938-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208938

            Bug ID: 208938
           Summary: usr.sbin/config does not preserve whitespace in static
                    env
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: sylvain@sylvaingarrigues.com

Created attachment 169494
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169494&action=
=3Dedit
Preserve spaces and tabs between quotes in /usr/sbin/config

I should be able to set values with spaces in my kernel static environment
(option 'env  mykernel-static-env.env' in my kernel config, as long as they=
 are
between quotes.

For instance, I want to be able to set:
loader_conf_files=3D"/boot/loader.conf /boot/loader.conf.local"

Right now, this gets transformed into:
loader_conf_files=3D"/boot/loader.conf/boot/loader.conf.local"

Attached patch fixes the issue and preserves spaces and tabs.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208938-8>