diff --git a/openwrtbuilder b/openwrtbuilder index 8f2154f..317147d 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -576,7 +576,7 @@ fromSource() { # Only compile our target echo "CONFIG_TARGET_MULTI_PROFILE=n" >> .config - sed -i '/CONFIG_TARGET_DEVICE_/d' myfile.txt + sed -i '/CONFIG_TARGET_DEVICE_/d' .config echo "CONFIG_TARGET_DEVICE_${P_ARR[target]//\//_}_DEVICE_${P_ARR[profile]}=y" >> .config make defconfig # normalize .config and remove dupes