madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

ppss uses deprecated option of find #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run ppss 2.85 (installed from the deb package) on a dir with recursion 
disabled on ubuntu lucid (10.04):
/usr/bin/ppss --no-recursion --disable-inotify -d /usr/src -c '/tmp/a.sh ' -p 10

2. Observe the following error
 find: warning: the -d option is deprecated; please use -depth instead, because the latter is a POSIX-compliant feature.
find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] 
[path...] [expression]
Aug 12 00:29:36:  get_all_items - Could not list files within local source 
directory.

What version of the product are you using? On what operating system?
ppss 2.85 on ubuntu lucid (10.04), under LXC.

Original issue reported on code.google.com by skliarie@gmail.com on 11 Aug 2011 at 8:32

GoogleCodeExporter commented 9 years ago
-d has been replaced by -depth in the new upcoming version.

Thank you for your report.

Original comment by Louwrentius on 17 Aug 2011 at 10:33