screenFetch
screenFetch copied to clipboard
Incorrect parsing of make.conf
Commented lines at the end of lines without a trailing space are parsed incorrectly and lead to weird outtput:
VIDEO_CARDS="nvidia"# -intel -i965"
$ screenfetch
/etc/portage/make.conf: line 8: -intel: command not found
/etc/portage/make.conf: line 16: /usr/local/portage/bazaar/
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST=x86_64-pc-linux-gnu
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
...
Show me the lines that parse make.conf. make.conf must not be parsed but imported . /etc/portage/make.conf Then you should parse VIDEO_CARDS
what
are you arguing semantics or