From 89a8184ad22465436e1c093419819a74a6611a56 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 13 Aug 2021 02:42:44 +0800 Subject: [PATCH] Avoid using legacy backticks https://github.com/koalaman/shellcheck/wiki/SC2006 --- .github/workflows/coverity-scan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml index f3d3b1df3..666d669cd 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -68,7 +68,7 @@ jobs: - name: Build with cov-build run: | - export PATH=`pwd`/coverity_tool/bin:$PATH + export PATH="$(pwd)/coverity_tool/bin:$PATH" cov-build --dir cov-int cmake --build build - name: Submit the result to Coverity Scan @@ -78,7 +78,7 @@ jobs: --form token=$TOKEN \ --form email=sledgehammer999@qbittorrent.org \ --form file=@qbittorrent.tgz \ - --form version="`git rev-parse --short HEAD`" \ + --form version="$(git rev-parse --short HEAD)" \ --form description="master" \ https://scan.coverity.com/builds?project=qbittorrent%2FqBittorrent env: