1c06389c27
command line gnutella client MAINTAINER= Nikolay Sturm <nikolay.sturm@desy.de>
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
$OpenBSD: patch-src_share_c,v 1.1.1.1 2001/09/07 05:44:32 pvalchev Exp $
|
|
--- src/share.c.orig Sun Sep 2 12:20:11 2001
|
|
+++ src/share.c Sun Sep 2 12:20:40 2001
|
|
@@ -564,11 +564,11 @@ int share_scan_dir(char *path, int verbo
|
|
printf("Using 'find' to index %s\n", path);
|
|
}
|
|
if (conf_get_int("follow_symlinks")) {
|
|
- sprintf(leafname, "find %s -follow \\( -type f "
|
|
+ sprintf(leafname, "gfind %s -follow \\( -type f "
|
|
"! -name \"*.gnut\" -o -type l \\) "
|
|
"-printf %s", path, "\\%P\\\\n\\%p\\\\n");
|
|
} else {
|
|
- sprintf(leafname, "find %s \\( -type f "
|
|
+ sprintf(leafname, "gfind %s \\( -type f "
|
|
"! -name \"*.gnut\" -o -type l \\) "
|
|
"-printf %s", path, "\\%P\\\\n\\%p\\\\n");
|
|
}
|
|
@@ -712,7 +712,7 @@ int share_cache_compare_func(void *a, vo
|
|
|
|
int share_init()
|
|
{
|
|
- have_find = trycmd("find --version", "GNU fi");
|
|
+ have_find = trycmd("gfind --version", "GNU fi");
|
|
have_perl = trycmd("perl -we 'print \"Perl rules!\\n\";'", "rules");
|
|
|
|
#if 0 /* 0.4.27.c17 */
|