Browse Source

Update diy.sh

garypang13 4 years ago
parent
commit
9625b5175c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      devices/common/diy.sh

+ 1 - 1
devices/common/diy.sh

@@ -38,7 +38,7 @@ sed -i '/killall -HUP/d' feeds/luci/luci.mk
 find package target -name inittab | xargs -i sed -i "s/askfirst/respawn/g" {}
 for ipk in $(find package/feeds/custom/* -maxdepth 0); do	
 	if [[ ! -d "$ipk/patches" && ! "$(grep "codeload.github.com" $ipk/Makefile)" ]]; then
-		find $ipk/ -maxdepth 1 ! -patch *tcping* -name "Makefile" \
+		find $ipk/ -maxdepth 1 ! -path *tcping* -name "Makefile" \
 		| xargs -i sed -i "s/PKG_SOURCE_VERSION:=[0-9a-z]\{15,\}/PKG_SOURCE_VERSION:=HEAD/g" {}
 	fi	
 done