r1k0/kicktoo — Issue #5: makeconf lines end with line()
Author: wimmuskee
Created: 2011-10-27 19:23:28+00:00
State: open

This because set also shows the sources makeconf_line() function and the grep for the make.conf vars greps everything starting with makeconf_. Solved with a simple addition to the grep. Should have tested this better :)

```patch
--- install_steps.sh.orig 2011-10-27 21:19:05.064715645 +0200
+++ install_steps.sh 2011-10-27 21:19:28.207066947 +0200
@@ -233,7 +233,7 @@
O=$IFS
IFS=$(echo -en "\n\b")

- for var in $(set | grep ^makeconf_); do
+ for var in $(set | grep ^makeconf_[A-Z]); do
makeconfline=$(echo $var | sed s/makeconf_// | sed s/\'/\"/g )
cat >> ${chroot_dir}/etc/make.conf <<- EOF
${makeconfline}
```