projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1390ec2
)
fixed dirs when using distcheck target
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 14 Sep 2012 08:25:47 +0000
(08:25 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 14 Sep 2012 08:25:47 +0000
(08:25 +0000)
tests/test-cppcheck.sh
patch
|
blob
|
history
diff --git
a/tests/test-cppcheck.sh
b/tests/test-cppcheck.sh
index
607717d
..
561b871
100755
(executable)
--- a/
tests/test-cppcheck.sh
+++ b/
tests/test-cppcheck.sh
@@
-1,5
+1,6
@@
#!/bin/sh
EIDS=performance,portability,information,unusedFunction,missingInclude
-
-cppcheck ../src -I../src/lib -I../src -I.. --enable=$EIDS --quiet --error-exitcode=1 || exit 1
+ROOTDIR=$srcdir/..
+
+cppcheck $ROOTDIR/src -I$ROOTDIR/src/lib -I$ROOTDIR/src -I$ROOTDIR --enable=$EIDS --quiet --error-exitcode=1 || exit 1