]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Fix Makefile
authorfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 4 Oct 2019 14:57:30 +0000 (16:57 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 4 Oct 2019 14:57:30 +0000 (16:57 +0200)
Makefile

index 57e0db81655835f51739fb4b39c092185bab6b4c..4870943398773acb8a1f51e8088f97c73ae28bd1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ test:
        @bash scripts/test.sh ${test_dir}
 
 coverity:
-       git branch | grep "*" | cut -d" " -f2 > .branch
+       $(shell git branch | grep "*" | cut -d" " -f2 > .branch)
        [ -z "$(git ls-remote --heads $(git remote get-url origin) coverity_scan)" ] || git push origin :coverity_scan
        git show-ref --verify --quiet refs/heads/master && git branch -D coverity_scan
        git checkout -b coverity_scan