Fix masterconfig check

This commit is contained in:
Jonas Höglund 2016-08-19 17:23:40 +02:00
parent 4c82a8cbe5
commit 0aa89d7bbf

View file

@ -155,7 +155,7 @@ function genconfig {
# Generate base config
# Used only for iopsys targets, not openwrt targets
rm -f .config
if [ $masterconfig ]; then
if [ $masterconfig -eq 1 ]; then
v "Config $BOARDTYPE selected"
v "cp $CONFIGPATH/config .config"
cp $CONFIGPATH/config .config