9 +FIND="${FIND:-$(which gfind)}"
10 TAR="${TAR:-$(which tar)}"
12 ipkg_extract_value() {
13 @@ -49,7 +50,7 @@ pkg_appears_sane() {
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 @@ You probably want to remove them: " >&2
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 @@ You probably want to remove them: " >&2
35 - large_uid_files=`find . -uid +99 || true`
36 + large_uid_files=`$FIND . -uid +99 || true`
38 if [ "$ogargs" = "" ] && [ -n "$large_uid_files" ]; then
39 echo "*** Warning: The following files have a UID greater than 99.