From d7493d66789cec8f4dbd4d8024c3d82bd9f1bd20 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Mon, 27 Feb 2012 15:09:49 -0500 Subject: [PATCH] #8763 Refix hudson script --- hudson-sflphone-script.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hudson-sflphone-script.sh b/hudson-sflphone-script.sh index b60691ed03..b508dd1f39 100755 --- a/hudson-sflphone-script.sh +++ b/hudson-sflphone-script.sh @@ -13,7 +13,9 @@ DOXYGEN=0 function run_code_analysis { # Check if cppcheck is installed on the system if [ `which cppcheck &>/dev/null ; echo $?` -ne 1 ] ; then - cppcheck -I src/ . --enable=all --xml 2> cppcheck-report.xml + pushd src + cppcheck . --enable=all --xml 2> cppcheck-report.xml + popd fi } -- GitLab