bryan 2 年之前
父节点
当前提交
661de3fd19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openwrtbuilder

+ 1 - 1
openwrtbuilder

@@ -576,7 +576,7 @@ fromSource() {
 
 
     # Only compile our target
     # Only compile our target
     echo "CONFIG_TARGET_MULTI_PROFILE=n" >> .config
     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
     echo "CONFIG_TARGET_DEVICE_${P_ARR[target]//\//_}_DEVICE_${P_ARR[profile]}=y" >> .config
 
 
     make defconfig # normalize .config and remove dupes
     make defconfig # normalize .config and remove dupes