Skip to content

Commit

Permalink
Fixed pvs version.
Browse files Browse the repository at this point in the history
████ ███  To request new features or in case this commit breaks something for you,
████ ███  please, create a new github issue with all possible information for me,
▓███▀█▄   but never share your API Keys!
▒▓██ ███
░▒▓█ ███  Signed-off-by: Carles Tubio <[email protected]>
 _________________________________________
/ Hello, WORLD!                           \
|                                         |
\ pssst.. 1.00000000 BTC = 61242.35 EUR.  /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
  • Loading branch information
ctubio committed Oct 15, 2024
1 parent 59094c9 commit 4be0d1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ uv:

pvs:
ifndef V_PVS
$(MAKE) $@ V_PVS=$(shell curl -s https://pvs-studio.com/en/pvs-studio/download-all/ | grep x86_64.tgz | sed 's/.*href=\"\(.*\)\" .*/\1/' | cut -d '-' -f4 | head -n1)
$(MAKE) $@ V_PVS=$(shell curl -s https://pvs-studio.com/en/pvs-studio/download-all/ | grep x86_64.tgz | cut -d'"' -f2 | cut -d'.' -f-4 | cut -d'-' -f3- | head -n1)
else
test -d $(KBUILD)/var/pvs-studio-$(V_PVS)-x86_64 || ( \
curl -L https://files.pvs-studio.com/pvs-studio-$(V_PVS)-x86_64.tgz \
| tar xz -C $(KBUILD)/var && cd $(KBUILD)/var/pvs-studio-$(V_PVS)-x86_64 \
&& chmod +x install.sh && sudo ./install.sh )
test -d $(KBUILD)/var/pvs-studio-$(V_PVS) || ( \
curl -L https://files.pvs-studio.com/pvs-studio-$(V_PVS).tgz \
| tar xz -C $(KBUILD)/var && cd $(KBUILD)/var/pvs-studio-$(V_PVS) \
&& chmod +x install.sh && sudo ./install.sh )
endif

lcov:
Expand Down

0 comments on commit 4be0d1e

Please sign in to comment.