Unverified Commit 9f09f073 authored by Alyssa Ross's avatar Alyssa Ross Committed by GitHub
Browse files

busybox: handle config values containing spaces (#485326)

parents 893602d4 9e6e03bd
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -19,10 +19,7 @@ assert stdenv.hostPlatform.libc == "musl" -> useMusl;
let
  configParser = ''
    function parseconfig {
        while read LINE; do
            NAME=`echo "$LINE" | cut -d \  -f 1`
            OPTION=`echo "$LINE" | cut -d \  -f 2`

        while IFS=" " read NAME OPTION; do
            if ! [[ "$NAME" =~ ^CONFIG_ ]]; then continue; fi

            echo "parseconfig: removing $NAME"