Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
[openwrt.git] / tools / ipkg-utils / patches / 160-find.patch
1 --- /tmp/ipkg-build 2008-08-01 09:36:41.000000000 +0200
2 +++ ipkg-utils-1.7/ipkg-build 2008-08-06 15:04:52.000000000 +0200
3 @@ -10,7 +10,8 @@
4 set -e
5
6 version=1.0
7 -
8 +FIND="$(which find)"
9 +FIND="${FIND:-$(which gfind)}"
10 TAR="${TAR:-$(which tar)}"
11
12 ipkg_extract_value() {
13 @@ -49,7 +50,7 @@
14
15 PKG_ERROR=0
16
17 - cvs_dirs=`find . -name 'CVS'`
18 + cvs_dirs=`$FIND . -name 'CVS'`
19 if [ -n "$cvs_dirs" ]; then
20 if [ "$noclean" = "1" ]; then
21 echo "*** Warning: The following CVS directories where found.
22 @@ -62,7 +63,7 @@
23 fi
24 fi
25
26 - tilde_files=`find . -name '*~'`
27 + tilde_files=`$FIND . -name '*~'`
28 if [ -n "$tilde_files" ]; then
29 if [ "$noclean" = "1" ]; then
30 echo "*** Warning: The following files have names ending in '~'.
31 @@ -75,7 +76,7 @@
32 fi
33 fi
34
35 - large_uid_files=`find . -uid +99 || true`
36 + large_uid_files=`$FIND . -uid +99 || true`
37
38 if [ "$ogargs" = "" ] && [ -n "$large_uid_files" ]; then
39 echo "*** Warning: The following files have a UID greater than 99.
This page took 0.056107 seconds and 5 git commands to generate.