Makefile.am: fix printf-check in out-of-tree build
authorDaniele Di Proietto <ddiproietto@vmware.com>
Mon, 23 Jun 2014 04:39:47 +0000 (04:39 +0000)
committerJoe Stringer <joestringer@nicira.com>
Sun, 22 Jun 2014 21:44:16 +0000 (09:44 +1200)
commit8faeab7257a28ccf3a13d2e823cef83feabbb44c
treee60db8da474ccef90747f932f1c93320ef7f21ee
parent2791461076c73d063b60ed1a3a56baeab38d354b
Makefile.am: fix printf-check in out-of-tree build

The introduction of a %zu in datapath/flow_netlink.c with commit c1fc1411
revealed a problem with out-of-tree builds.

printf-check and thread-safety-check skip some directories with a 'grep -v'.
In the case of an out-of-tree build, the grep -v pattern doesn't work, because
it assumes the pathnames to be relative to the OVS root directory.

This commit fixes the problem by changing the directory before executing any
commands, like we do elsewhere in Makefile.am

Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Makefile.am