From: degomme Date: Mon, 7 Mar 2016 16:28:50 +0000 (+0100) Subject: try not to rely on dpkg here, fedora does not like that. X-Git-Tag: v3_13~500^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/095b03aefa76666f630a48ad20f3238088ef832a?ds=sidebyside try not to rely on dpkg here, fedora does not like that. --- diff --git a/tools/jenkins/DynamicAnalysis.sh b/tools/jenkins/DynamicAnalysis.sh index ed65c7b89c..cd9b2b4aa8 100755 --- a/tools/jenkins/DynamicAnalysis.sh +++ b/tools/jenkins/DynamicAnalysis.sh @@ -22,7 +22,7 @@ do_cleanup() { for pkg in xsltproc valgrind gcovr do - if dpkg -l |grep -q $pkg + if command -v $pkg then echo "$pkg is installed. Good." else