Changeset 847


Ignore:
Timestamp:
Sep 27, 2006, 12:28:48 AM (13 years ago)
Author:
bruno
Message:

Fix a bug in find command for filelist computation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/libmondo-filelist.c

    r843 r847  
    15391539        // 2.6 has /sys as a proc-type thing -- must be excluded
    15401540        asprintf(&strtmp,
    1541              "find %s -maxdepth %d -fstype mvfs -path /dev/shm -prune -o %s -type d -a -print > %s 2> /dev/null",
     1541             "find %s -maxdepth %d -fstype mvfs -prune -o -path /dev/shm -prune -o %s -type d -print > %s 2> /dev/null",
    15421542             dir, MAX_SKEL_DEPTH, find_excludes, g_skeleton_filelist);
    15431543#else
    15441544        // On BSD, for example, /sys is the kernel sources -- don't exclude
    15451545        asprintf(&strtmp,
    1546              "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o %s -type d -a -print > %s 2> /dev/null",
     1546             "find %s -maxdepth %d -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null",
    15471547                dir, MAX_SKEL_DEPTH, find_excludes, g_skeleton_filelist);
    15481548#endif
Note: See TracChangeset for help on using the changeset viewer.