aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/clang-analyzer.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-10 02:11:55 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-10 02:11:55 +0200
commit097fc9bdb386705a63a8021d5467266a70e22a6e (patch)
tree9c677a6d9281c4407dc6eef18c5a36ca0591288e /build-aux/clang-analyzer.sh
parent5379543ca4386c22872c380ccd60d77e51afa134 (diff)
downloadblogc-097fc9bdb386705a63a8021d5467266a70e22a6e.tar.gz
blogc-097fc9bdb386705a63a8021d5467266a70e22a6e.tar.bz2
blogc-097fc9bdb386705a63a8021d5467266a70e22a6e.zip
build: use predefined yatr project variables
Diffstat (limited to 'build-aux/clang-analyzer.sh')
-rwxr-xr-xbuild-aux/clang-analyzer.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/build-aux/clang-analyzer.sh b/build-aux/clang-analyzer.sh
index 1582b10..e7820c4 100755
--- a/build-aux/clang-analyzer.sh
+++ b/build-aux/clang-analyzer.sh
@@ -2,15 +2,13 @@
set -ex
-PN="$(grep PACKAGE_TARNAME config.h | cut -d\" -f2)"
-PV="$(grep PACKAGE_VERSION config.h | cut -d\" -f2)"
P="${PN}-clang-analyzer-${PV}"
set +e
scan-build \
--use-cc="${CC:-clang}" \
-o reports \
- ${MAKE_CMD:-make}
+ make
RV=$?
set -e