[collectd] [PATCH] use -type f predicate when checking for javac

Doug MacEachern Doug.MacEachern at hyperic.com
Mon May 18 20:33:22 CEST 2009


If the java samples are installed, the javac check may cause the build
to fail:

http://hudson.hyperic.com/job/collectd-master-dist/29/console
Making all in java
make[2]: Entering directory
`/home/hudson/hudson.hyperic.com/jobs/collectd-master-dist/workspace/bin
dings/java'
/home/hudson/jdk/sample/javac -d "." "./org/collectd/api"/*.java
/bin/sh: /home/hudson/jdk/sample/javac: is a directory
make[2]: *** [java-build-stamp] Error 126
...

% find -L /home/hudson/jdk -name javac
/home/hudson/jdk/sample/javac
/home/hudson/jdk/bin/javac

Attached patch fixes by simply adding '-type f'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-use-type-f-predicate-when-checking-for-javac.patch
Type: application/octet-stream
Size: 754 bytes
Desc: 0001-use-type-f-predicate-when-checking-for-javac.patch
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090518/d5b558c8/attachment-0001.obj 


More information about the collectd mailing list