浏览代码

fix overlapping regex

Waldemar Brodkorb 10 年之前
父节点
当前提交
f5709af4b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mk/build.mk

+ 1 - 1
mk/build.mk

@@ -434,7 +434,7 @@ endif
 	fi
 	@if [ ! -z "$(ADK_TARGET_FLOAT)" ];then \
 		grep "^config" target/config/Config.in.float.choice \
-			|grep -i "$(ADK_TARGET_FLOAT)" \
+			|grep -i "$(ADK_TARGET_FLOAT)$$" \
 			|sed -e "s#^config \(.*\)#\1=y#" \
 			>> $(ADK_TOPDIR)/.defconfig; \
 	fi