浏览代码

fix find usage for native adk systems, found on lemote

Waldemar Brodkorb 12 年之前
父节点
当前提交
36b4503781
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      package/busybox/patches/012-find-posix.patch

+ 12 - 0
package/busybox/patches/012-find-posix.patch

@@ -0,0 +1,12 @@
+diff -Nur busybox-1.20.2.orig/scripts/gen_build_files.sh busybox-1.20.2/scripts/gen_build_files.sh
+--- busybox-1.20.2.orig/scripts/gen_build_files.sh	2012-06-26 13:35:45.000000000 +0000
++++ busybox-1.20.2/scripts/gen_build_files.sh	2013-04-29 12:18:26.089999426 +0000
+@@ -61,7 +61,7 @@
+ 
+ # (Re)generate */Kbuild and */Config.in
+ # We skip .dotdirs - makes git/svn/etc users happier
+-{ cd -- "$srctree" && find . -type d -not '(' -name '.?*' -prune ')'; } \
++{ cd -- "$srctree" && find . -type d ! '(' -name '.?*' -prune ')'; } \
+ | while read -r d; do
+ 	d="${d#./}"
+