[PATCH] cppcheck: fix the cppcheck source link error

Ivan Hu ivan.hu at canonical.com
Thu Jun 1 01:38:26 UTC 2023


BugLink: https://bugs.launchpad.net/fwts/+bug/2020642

Got error messages below,

Checking for dependencies for cppcheck..
Getting cppcheck..
Cloning into '/tmp/cppcheck'...
fatal: unable to connect to github.com:
github.com[0: 20.27.177.113]: errno=Connection timed out

Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 cppcheck.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cppcheck.sh b/cppcheck.sh
index 24251b06..9d2bab7a 100755
--- a/cppcheck.sh
+++ b/cppcheck.sh
@@ -19,7 +19,7 @@
 
 CPPCHECK_DIR=/tmp/cppcheck
 CPPCHECK=${CPPCHECK_DIR}/cppcheck
-CPPCHECK_REPO=git://github.com/danmar/cppcheck
+CPPCHECK_REPO=https://github.com/danmar/cppcheck
 CPPCHECK_LOG=cppcheck.log
 DEPENDENCIES="git build-essential"
 JOBS=$(nproc)
-- 
2.34.1




More information about the fwts-devel mailing list